{
 "id": "strength-workout-log",
 "file": "softwiro-strength-workout-log.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": "رياضي (مثال)"
    },
    {
     "label": "وزن الجسم (كجم)",
     "cell": "B5",
     "value": 82
    },
    {
     "label": "أول يوم في الأسبوع الحالي",
     "cell": "B6",
     "value": "2026-11-07"
    },
    {
     "label": "التمرين",
     "cell": "B10",
     "value": "المجموعة العضلية"
    },
    {
     "label": "بنش برس",
     "cell": "B11",
     "value": "صدر"
    },
    {
     "label": "سكوات",
     "cell": "B12",
     "value": "أرجل"
    },
    {
     "label": "ديدلفت",
     "cell": "B13",
     "value": "ظهر"
    },
    {
     "label": "أوفر هيد برس",
     "cell": "B14",
     "value": "أكتاف"
    },
    {
     "label": "سحب بار منحني",
     "cell": "B15",
     "value": "ظهر"
    },
    {
     "label": "بايسبس بار",
     "cell": "B16",
     "value": "ذراعين"
    },
    {
     "label": "ليج برس",
     "cell": "B17",
     "value": "أرجل"
    }
   ]
  },
  {
   "name": "التمارين",
   "formula_cells": 10500,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 64,
     "capacity_last_row": 1505,
     "columns": [
      {
       "column": "A",
       "header": "التاريخ",
       "kind": "input",
       "examples": [
        "2026-09-12",
        "2026-09-12",
        "2026-09-12"
       ]
      },
      {
       "column": "B",
       "header": "التمرين",
       "kind": "input",
       "examples": [
        "بنش برس",
        "بنش برس",
        "بنش برس"
       ],
       "allowed_values": {
        "from_range": "'الإعدادات'!$A$11:$A$40"
       }
      },
      {
       "column": "C",
       "header": "رقم المجموعة",
       "kind": "input",
       "examples": [
        1,
        2,
        3
       ]
      },
      {
       "column": "D",
       "header": "العدّات",
       "kind": "input",
       "examples": [
        8,
        8,
        8
       ]
      },
      {
       "column": "E",
       "header": "الوزن (كجم)",
       "kind": "input",
       "examples": [
        60,
        60,
        60
       ]
      },
      {
       "column": "F",
       "header": "RPE",
       "kind": "input",
       "examples": [
        7,
        7,
        8
       ],
       "allowed_values": [
        "5",
        "6",
        "7",
        "8",
        "9",
        "10"
       ]
      },
      {
       "column": "G",
       "header": "الحجم",
       "kind": "formula",
       "formula_row_1": "=IF(AND(ISNUMBER(A6),B6&\"\"<>\"\",ISNUMBER(D6),ISNUMBER(E6)),D6*E6,\"\")"
      },
      {
       "column": "H",
       "header": "تقدير 1RM",
       "kind": "formula",
       "formula_row_1": "=IF(AND(ISNUMBER(A6),B6&\"\"<>\"\",ISNUMBER(D6),ISNUMBER(E6)),ROUND(E6*(1+D6/30),2),\"\")"
      },
      {
       "column": "I",
       "header": "المجموعة العضلية",
       "kind": "formula",
       "formula_row_1": "=IF(B6&\"\"=\"\",\"\",IFERROR(INDEX('الإعدادات'!$B$11:$B$40,MATCH(B6&\"\",'الإعدادات'!$A$11:$A$40,0))&\"\",\"غير موجود\"))"
      },
      {
       "column": "J",
       "header": "مساعد 1",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(H6),IF(AND(COUNTIFS($B$6:$B$1505,B6&\"\",$H$6:$H$1505,\">\"&H6)=0,COUNTIFS($B$6:B6,B6&\"\",$H$6:H6,H6&\"\")=1),1,0),\"\")"
      },
      {
       "column": "K",
       "header": "مساعد 2",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(H6),IF(AND(COUNTIFS($B$6:$B$1505,B6&\"\",$H$6:$H$1505,\">=0\",$E$6:$E$1505,\">\"&E6)=0,COUNTIFS($B$6:B6,B6&\"\",$H$6:H6,\">=0\",$E$6:E6,E6&\"\")=1),1,0),\"\")"
      },
      {
       "column": "L",
       "header": "مساعد 3",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(H6),IF(COUNTIFS($B$6:$B$1505,B6&\"\",$H$6:$H$1505,\">=0\",$A$6:$A$1505,\">\"&A6)=0,1,0),\"\")"
      },
      {
       "column": "M",
       "header": "مساعد 4",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(H6),IF(AND(L6=1,COUNTIFS($B$6:$B$1505,B6&\"\",$A$6:$A$1505,A6&\"\",$H$6:$H$1505,\">\"&H6)=0,COUNTIFS($B$6:B6,B6&\"\",$A$6:A6,A6&\"\",$H$6:H6,H6&\"\")=1),1,0),\"\")"
      }
     ]
    }
   ]
  },
  {
   "name": "التقدم",
   "formula_cells": 357,
   "record_tables": [
    {
     "header_row": 10,
     "first_record_row": 11,
     "sample_rows_filled": 0,
     "capacity_last_row": 51,
     "columns": [
      {
       "column": "A",
       "header": "بداية الأسبوع",
       "kind": "formula",
       "formula_row_1": "='الإعدادات'!$B$6-0"
      },
      {
       "column": "B",
       "header": "نهايته",
       "kind": "formula",
       "formula_row_1": "=A11+6"
      },
      {
       "column": "C",
       "header": "المجموعات",
       "kind": "formula",
       "formula_row_1": "=COUNTIFS('التمارين'!$A$6:$A$1505,\">=\"&A11,'التمارين'!$A$6:$A$1505,\"<=\"&B11,'التمارين'!$G$6:$G$1505,\">=0\")"
      },
      {
       "column": "D",
       "header": "الحجم (كجم)",
       "kind": "formula",
       "formula_row_1": "=SUMIFS('التمارين'!$G$6:$G$1505,'التمارين'!$A$6:$A$1505,\">=\"&A11,'التمارين'!$A$6:$A$1505,\"<=\"&B11)"
      },
      {
       "column": "E",
       "header": "التغير عن الأسبوع السابق",
       "kind": "formula",
       "formula_row_1": "=IF(D12=0,\"\",D11/D12-1)"
      }
     ]
    }
   ],
   "results": [
    {
     "label": "الرياضي",
     "cell": "B4",
     "formula": "='الإعدادات'!B4"
    },
    {
     "label": "إجمالي المجموعات المسجلة",
     "cell": "B5",
     "formula": "=COUNT('التمارين'!$G$6:$G$1505)"
    },
    {
     "label": "إجمالي الحجم (كجم)",
     "cell": "B6",
     "formula": "=SUM('التمارين'!$G$6:$G$1505)"
    },
    {
     "label": "تمارين حققت رقمًا قياسيًا",
     "cell": "B7",
     "formula": "=COUNTIF(I22:I51,\"رقم قياسي جديد\")"
    },
    {
     "label": "مجموعات بتمرين غير موجود في القائمة",
     "cell": "B8",
     "formula": "=COUNTIF('التمارين'!$I$6:$I$1505,\"غير موجود\")"
    }
   ]
  },
  {
   "name": "لماذا ما زلت على إكسل؟",
   "formula_cells": 0
  }
 ]
}