{
 "id": "training-load-rpe",
 "file": "softwiro-training-load-rpe.xlsx",
 "title": "شيت حمل التدريب لمختلف الألعاب",
 "language": "ar",
 "direction": "rtl",
 "how_it_works": "White cells are typed input; cells whose kind is \"formula\" are calculated and must not be overwritten. Add one record per row under the header row of a record table, keeping the columns in order.",
 "sheets": [
  {
   "name": "ابدأ هنا",
   "formula_cells": 0
  },
  {
   "name": "الإعدادات",
   "formula_cells": 0,
   "settings": [
    {
     "label": "اللاعب أو الفريق",
     "cell": "B4",
     "value": "فريق الناشئين تحت 17 (مثال)"
    },
    {
     "label": "الرياضة",
     "cell": "B5",
     "value": "كرة القدم"
    },
    {
     "label": "بداية الأسبوع الأول (يوم اثنين مثلًا)",
     "cell": "B6",
     "value": "2026-08-24"
    },
    {
     "label": "حد «منخفض»: النسبة أقل من",
     "cell": "B7",
     "value": 0.8
    },
    {
     "label": "حد «مرتفع»: النسبة أكثر من",
     "cell": "B8",
     "value": 1.3
    }
   ]
  },
  {
   "name": "الجلسات",
   "formula_cells": 3000,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 54,
     "capacity_last_row": 1505,
     "columns": [
      {
       "column": "A",
       "header": "التاريخ",
       "kind": "input",
       "examples": [
        "2026-08-24",
        "2026-08-25",
        "2026-08-27"
       ]
      },
      {
       "column": "B",
       "header": "نوع الجلسة",
       "kind": "input",
       "examples": [
        "تمرين فني",
        "تمرين بدني",
        "قوة وأثقال"
       ],
       "allowed_values": {
        "from_range": "'الإعدادات'!$A$11:$A$22"
       }
      },
      {
       "column": "C",
       "header": "الدقائق",
       "kind": "input",
       "examples": [
        75,
        60,
        50
       ]
      },
      {
       "column": "D",
       "header": "RPE (1-10)",
       "kind": "input",
       "examples": [
        6,
        7,
        6
       ],
       "allowed_values": [
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "7",
        "8",
        "9",
        "10"
       ]
      },
      {
       "column": "E",
       "header": "ساعات النوم",
       "kind": "input",
       "examples": [
        6.5,
        7,
        7.5
       ]
      },
      {
       "column": "F",
       "header": "الإرهاق (1-5)",
       "kind": "input",
       "examples": [
        2,
        3,
        4
       ],
       "allowed_values": [
        "1",
        "2",
        "3",
        "4",
        "5"
       ]
      },
      {
       "column": "G",
       "header": "حمل الجلسة",
       "kind": "formula",
       "formula_row_1": "=IF(AND(ISNUMBER(C6),ISNUMBER(D6),D6>=1,D6<=10),C6*D6,\"\")"
      },
      {
       "column": "H",
       "header": "تنبيه",
       "kind": "formula",
       "formula_row_1": "=IF(A6&B6&C6&D6=\"\",\"\",IF(NOT(ISNUMBER(A6)),\"التاريخ ناقص\",IF(OR(NOT(ISNUMBER(C6)),NOT(ISNUMBER(D6))),\"الدقائق أو RPE ناقص\",IF(OR(D6<1,D6>10),\"RPE بين 1 و10\",IF(COUNTIF('الإعدادات'!$A$11:$A$22,B6&\"\")=0,\"نوع غير موجود\",\"\")))))"
      }
     ]
    }
   ]
  },
  {
   "name": "الأحمال",
   "formula_cells": 383,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 32,
     "capacity_last_row": 42,
     "columns": [
      {
       "column": "A",
       "header": "الأسبوع",
       "kind": "input",
       "examples": [
        1,
        2,
        3
       ]
      },
      {
       "column": "B",
       "header": "من",
       "kind": "formula",
       "formula_row_1": "='الإعدادات'!$B$6+7*(A6-1)"
      },
      {
       "column": "C",
       "header": "إلى",
       "kind": "formula",
       "formula_row_1": "=B6+6"
      },
      {
       "column": "D",
       "header": "إجمالي الحمل",
       "kind": "formula",
       "formula_row_1": "=SUM($Q$6:$Q$12)"
      },
      {
       "column": "E",
       "header": "الجلسات",
       "kind": "formula",
       "formula_row_1": "=COUNTIFS('الجلسات'!$A$6:$A$1505,\">=\"&B6,'الجلسات'!$A$6:$A$1505,\"<=\"&C6,'الجلسات'!$G$6:$G$1505,\">0\")"
      },
      {
       "column": "F",
       "header": "متوسط RPE",
       "kind": "formula",
       "formula_row_1": "=IF(E6=0,\"\",SUMIFS('الجلسات'!$D$6:$D$1505,'الجلسات'!$A$6:$A$1505,\">=\"&B6,'الجلسات'!$A$6:$A$1505,\"<=\"&C6,'الجلسات'!$G$6:$G$1505,\">0\")/E6)"
      },
      {
       "column": "G",
       "header": "الدقائق",
       "kind": "formula",
       "formula_row_1": "=SUMIFS('الجلسات'!$C$6:$C$1505,'الجلسات'!$A$6:$A$1505,\">=\"&B6,'الجلسات'!$A$6:$A$1505,\"<=\"&C6,'الجلسات'!$G$6:$G$1505,\">0\")"
      },
      {
       "column": "H",
       "header": "الرتابة",
       "kind": "formula",
       "formula_row_1": "=IF(D6=0,\"\",IFERROR((D6/7)/SQRT(MAX(0,SUMPRODUCT($Q$6:$Q$12,$Q$6:$Q$12)/7-(D6/7)^2)),\"\"))"
      },
      {
       "column": "I",
       "header": "الإجهاد",
       "kind": "formula",
       "formula_row_1": "=IF(H6=\"\",\"\",D6*H6)"
      },
      {
       "column": "J",
       "header": "الحمل المزمن (متوسط 4 أسابيع)",
       "kind": "input",
       "examples": [
        "=SUM($Q$6:$Q$33)/4",
        "=SUM($Q$13:$Q$40)/4",
        "=SUM($Q$20:$Q$47)/4"
       ]
      },
      {
       "column": "K",
       "header": "النسبة الحادة/المزمنة",
       "kind": "input",
       "examples": [
        "=IF(J9=0,\"\",D9/J9)",
        "=IF(J10=0,\"\",D10/J10)",
        "=IF(J11=0,\"\",D11/J11)"
       ]
      },
      {
       "column": "L",
       "header": "الحالة",
       "kind": "input",
       "examples": [
        "يلزم 4 أسابيع",
        "يلزم 4 أسابيع",
        "يلزم 4 أسابيع"
       ]
      },
      {
       "column": "M",
       "header": "متوسط النوم",
       "kind": "formula",
       "formula_row_1": "=IFERROR(SUMIFS('الجلسات'!$E$6:$E$1505,'الجلسات'!$A$6:$A$1505,\">=\"&B6,'الجلسات'!$A$6:$A$1505,\"<=\"&C6,'الجلسات'!$E$6:$E$1505,\">0\")/COUNTIFS('الجلسات'!$A$6:$A$1505,\">=\"&B6,'الجلسات'!$A$6:$A$1505,\"<=\"&C6,'الجلسات'!$E$6:$E$1505,\">0\"),\"\")"
      },
      {
       "column": "N",
       "header": "متوسط الإرهاق",
       "kind": "formula",
       "formula_row_1": "=IFERROR(SUMIFS('الجلسات'!$F$6:$F$1505,'الجلسات'!$A$6:$A$1505,\">=\"&B6,'الجلسات'!$A$6:$A$1505,\"<=\"&C6,'الجلسات'!$F$6:$F$1505,\">0\")/COUNTIFS('الجلسات'!$A$6:$A$1505,\">=\"&B6,'الجلسات'!$A$6:$A$1505,\"<=\"&C6,'الجلسات'!$F$6:$F$1505,\">0\"),\"\")"
      }
     ]
    }
   ]
  },
  {
   "name": "لماذا ما زلت على إكسل؟",
   "formula_cells": 0
  }
 ]
}