{
 "id": "nursery-management",
 "file": "softwiro-nursery-management.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,
   "record_tables": [
    {
     "header_row": 11,
     "first_record_row": 12,
     "sample_rows_filled": 5,
     "capacity_last_row": 19,
     "columns": [
      {
       "column": "A",
       "header": "من عمر (بالشهور)",
       "kind": "input",
       "examples": [
        6,
        18,
        30
       ]
      },
      {
       "column": "B",
       "header": "المجموعة",
       "kind": "input",
       "examples": [
        "الرضّع",
        "المشي",
        "الصغار"
       ]
      },
      {
       "column": "C",
       "header": "الرسوم الشهرية",
       "kind": "input",
       "examples": [
        2800,
        2600,
        2300
       ]
      },
      {
       "column": "D",
       "header": "السعة",
       "kind": "input",
       "examples": [
        8,
        10,
        12
       ]
      }
     ]
    }
   ],
   "settings": [
    {
     "label": "تاريخ اليوم (لحساب العمر)",
     "cell": "B4",
     "value": "2026-11-15"
    },
    {
     "label": "أي تاريخ داخل شهر التقرير",
     "cell": "B5",
     "value": "2026-11-15"
    },
    {
     "label": "أول شهر في جدول الدخل والمصروف",
     "cell": "B6",
     "value": "2026-10-01"
    },
    {
     "label": "وقت إغلاق الحضانة",
     "cell": "B7",
     "value": "14:00:00"
    },
    {
     "label": "اليوم المراد عرض حضوره",
     "cell": "B8",
     "value": "2026-11-11"
    }
   ]
  },
  {
   "name": "الأطفال",
   "formula_cells": 900,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 14,
     "capacity_last_row": 105,
     "columns": [
      {
       "column": "A",
       "header": "الكود",
       "kind": "input",
       "examples": [
        "C01",
        "C02",
        "C03"
       ]
      },
      {
       "column": "B",
       "header": "اسم الطفل",
       "kind": "input",
       "examples": [
        "آدم محمود",
        "ليلى حسن",
        "يوسف كريم"
       ]
      },
      {
       "column": "C",
       "header": "تاريخ الميلاد",
       "kind": "input",
       "examples": [
        "2025-08-10",
        "2025-03-20",
        "2024-09-05"
       ]
      },
      {
       "column": "D",
       "header": "تاريخ الالتحاق",
       "kind": "input",
       "examples": [
        "2026-10-01",
        "2026-10-01",
        "2026-10-01"
       ]
      },
      {
       "column": "E",
       "header": "ولي الأمر",
       "kind": "input",
       "examples": [
        "محمود السيد",
        "حسن عبد الله",
        "كريم فتحي"
       ]
      },
      {
       "column": "F",
       "header": "الجوال",
       "kind": "input",
       "examples": [
        "01001230001",
        "01001230002",
        "01001230003"
       ]
      },
      {
       "column": "G",
       "header": "حساسية / ملاحظات",
       "kind": "input",
       "examples": [
        "حساسية لبن البقر",
        "حساسية بيض",
        "حساسية غبار"
       ]
      },
      {
       "column": "H",
       "header": "الحالة",
       "kind": "input",
       "examples": [
        "ملتحق",
        "ملتحق",
        "ملتحق"
       ],
       "allowed_values": [
        "ملتحق",
        "منسحب"
       ]
      },
      {
       "column": "I",
       "header": "تاريخ المغادرة",
       "kind": "input",
       "examples": [
        "2026-10-20"
       ]
      },
      {
       "column": "J",
       "header": "خصم شهري",
       "kind": "input",
       "examples": [
        200,
        200
       ]
      },
      {
       "column": "K",
       "header": "العمر (شهر)",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(C6),(YEAR('الإعدادات'!$B$4)-YEAR(C6))*12+MONTH('الإعدادات'!$B$4)-MONTH(C6)-IF(DAY('الإعدادات'!$B$4)<DAY(C6),1,0),\"\")"
      },
      {
       "column": "L",
       "header": "العمر",
       "kind": "formula",
       "formula_row_1": "=IF(K6=\"\",\"\",ROUNDDOWN(K6/12,0)&\" سنة و\"&(K6-12*ROUNDDOWN(K6/12,0))&\" شهر\")"
      },
      {
       "column": "M",
       "header": "المجموعة",
       "kind": "formula",
       "formula_row_1": "=IF(K6=\"\",\"\",IF(COUNTIF('الإعدادات'!$A$12:$A$17,\"<=\"&K6)=0,\"أقل من الفئات\",INDEX('الإعدادات'!$B$12:$B$17,COUNTIF('الإعدادات'!$A$12:$A$17,\"<=\"&K6))))"
      },
      {
       "column": "N",
       "header": "الرسوم الشهرية",
       "kind": "formula",
       "formula_row_1": "=IF(M6=\"\",\"\",IFERROR(MAX(0,INDEX('الإعدادات'!$C$12:$C$17,MATCH(M6,'الإعدادات'!$B$12:$B$17,0))-N(J6)),0))"
      },
      {
       "column": "O",
       "header": "شهور مستحقة",
       "kind": "formula",
       "formula_row_1": "=IF(OR(A6&\"\"=\"\",NOT(ISNUMBER(D6))),\"\",MAX(0,(YEAR(IF(ISNUMBER(I6),MIN(I6,EOMONTH('الإعدادات'!$B$5,0)),EOMONTH('الإعدادات'!$B$5,0)))-YEAR(D6))*12+MONTH(IF(ISNUMBER(I6),MIN(I6,EOMONTH('الإعدادات'!$B$5,0)),EOMONTH('الإعدادات'!$B$5,0)))-MONTH(D6)+1))"
      },
      {
       "column": "P",
       "header": "المستحق",
       "kind": "formula",
       "formula_row_1": "=IF(O6=\"\",\"\",O6*N(N6))"
      },
      {
       "column": "Q",
       "header": "المدفوع",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",SUMIFS('المدفوعات'!$D$6:$D$1505,'المدفوعات'!$B$6:$B$1505,A6&\"\",'المدفوعات'!$A$6:$A$1505,\"<=\"&EOMONTH('الإعدادات'!$B$5,0)))"
      },
      {
       "column": "R",
       "header": "الرصيد",
       "kind": "formula",
       "formula_row_1": "=IF(P6=\"\",\"\",ROUND(P6-Q6,2))"
      },
      {
       "column": "S",
       "header": "الحالة المالية",
       "kind": "formula",
       "formula_row_1": "=IF(R6=\"\",\"\",IF(R6>0,\"متأخر\",IF(R6<0,\"دفع مقدمًا\",\"مسدد\")))"
      }
     ]
    }
   ]
  },
  {
   "name": "المدفوعات",
   "formula_cells": 1500,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 26,
     "capacity_last_row": 1505,
     "columns": [
      {
       "column": "A",
       "header": "التاريخ",
       "kind": "input",
       "examples": [
        "2026-10-03",
        "2026-10-03",
        "2026-10-04"
       ]
      },
      {
       "column": "B",
       "header": "كود الطفل",
       "kind": "input",
       "examples": [
        "C01",
        "C02",
        "C03"
       ],
       "allowed_values": {
        "from_range": "'الأطفال'!$A$6:$A$105"
       }
      },
      {
       "column": "C",
       "header": "الطفل",
       "kind": "formula",
       "formula_row_1": "=IF(B6&\"\"=\"\",\"\",IFERROR(INDEX('الأطفال'!$B$6:$B$105,MATCH(B6&\"\",'الأطفال'!$A$6:$A$105,0)),\"كود غير موجود\"))"
      },
      {
       "column": "D",
       "header": "المبلغ",
       "kind": "input",
       "examples": [
        2800,
        2600,
        2600
       ]
      },
      {
       "column": "E",
       "header": "طريقة الدفع",
       "kind": "input",
       "examples": [
        "نقدًا",
        "نقدًا",
        "تحويل بنكي"
       ],
       "allowed_values": [
        "نقدًا",
        "تحويل بنكي",
        "محفظة إلكترونية"
       ]
      },
      {
       "column": "F",
       "header": "رقم الإيصال",
       "kind": "input",
       "examples": [
        "R-101",
        "R-102",
        "R-103"
       ]
      },
      {
       "column": "G",
       "header": "ملاحظة",
       "kind": "input",
       "examples": [
        "دفعة مقدمة عن شهر ديسمبر"
       ]
      }
     ]
    }
   ]
  },
  {
   "name": "سجل الحضور",
   "formula_cells": 16000,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 130,
     "capacity_last_row": 4005,
     "columns": [
      {
       "column": "A",
       "header": "التاريخ",
       "kind": "input",
       "examples": [
        "2026-11-01",
        "2026-11-01",
        "2026-11-01"
       ]
      },
      {
       "column": "B",
       "header": "كود الطفل",
       "kind": "input",
       "examples": [
        "C01",
        "C02",
        "C03"
       ],
       "allowed_values": {
        "from_range": "'الأطفال'!$A$6:$A$105"
       }
      },
      {
       "column": "C",
       "header": "الطفل",
       "kind": "formula",
       "formula_row_1": "=IF(B6&\"\"=\"\",\"\",IFERROR(INDEX('الأطفال'!$B$6:$B$105,MATCH(B6&\"\",'الأطفال'!$A$6:$A$105,0)),\"كود غير موجود\"))"
      },
      {
       "column": "D",
       "header": "الحالة",
       "kind": "input",
       "examples": [
        "حاضر",
        "حاضر",
        "حاضر"
       ],
       "allowed_values": [
        "حاضر",
        "غائب",
        "غياب بعذر"
       ]
      },
      {
       "column": "E",
       "header": "وقت الحضور",
       "kind": "input",
       "examples": [
        "07:33:00",
        "07:40:00",
        "07:47:00"
       ]
      },
      {
       "column": "F",
       "header": "وقت الانصراف",
       "kind": "input",
       "examples": [
        "13:35:00",
        "13:46:00",
        "13:57:00"
       ]
      },
      {
       "column": "G",
       "header": "الساعات",
       "kind": "formula",
       "formula_row_1": "=IF(AND(ISNUMBER(E6),ISNUMBER(F6),F6>E6),ROUND((F6-E6)*24,2),\"\")"
      },
      {
       "column": "H",
       "header": "مفتاح",
       "kind": "formula",
       "formula_row_1": "=IF(OR(NOT(ISNUMBER(A6)),B6&\"\"=\"\"),\"\",B6&\"|\"&A6)"
      },
      {
       "column": "I",
       "header": "تنبيه",
       "kind": "formula",
       "formula_row_1": "=IF(H6=\"\",\"\",IF(C6=\"كود غير موجود\",\"كود غير موجود\",IF(COUNTIF($H$6:$H$4005,H6)>1,\"مكرر\",IF(AND(D6=\"حاضر\",NOT(ISNUMBER(E6))),\"بلا وقت حضور\",IF(AND(ISNUMBER(E6),ISNUMBER(F6),F6<E6),\"انصراف قبل الحضور\",\"\")))))"
      }
     ]
    }
   ]
  },
  {
   "name": "حضور اليوم",
   "formula_cells": 806,
   "record_tables": [
    {
     "header_row": 7,
     "first_record_row": 8,
     "sample_rows_filled": 0,
     "capacity_last_row": 107,
     "columns": [
      {
       "column": "A",
       "header": "الكود",
       "kind": "formula",
       "formula_row_1": "=IF('الأطفال'!A6&\"\"=\"\",\"\",'الأطفال'!A6)"
      },
      {
       "column": "B",
       "header": "الطفل",
       "kind": "formula",
       "formula_row_1": "=IF(A8=\"\",\"\",'الأطفال'!B6)"
      },
      {
       "column": "C",
       "header": "المجموعة",
       "kind": "formula",
       "formula_row_1": "=IF(A8=\"\",\"\",'الأطفال'!M6)"
      },
      {
       "column": "D",
       "header": "الحالة",
       "kind": "formula",
       "formula_row_1": "=IF(A8=\"\",\"\",IF('الأطفال'!H6=\"منسحب\",\"منسحب\",IF(H8=\"\",\"لم يُسجَّل\",INDEX('سجل الحضور'!$D$6:$D$4005,H8))))"
      },
      {
       "column": "E",
       "header": "الحضور",
       "kind": "formula",
       "formula_row_1": "=IF(H8=\"\",\"\",IF(INDEX('سجل الحضور'!$E$6:$E$4005,H8)=\"\",\"\",INDEX('سجل الحضور'!$E$6:$E$4005,H8)))"
      },
      {
       "column": "F",
       "header": "الانصراف",
       "kind": "formula",
       "formula_row_1": "=IF(H8=\"\",\"\",IF(INDEX('سجل الحضور'!$F$6:$F$4005,H8)=\"\",\"\",INDEX('سجل الحضور'!$F$6:$F$4005,H8)))"
      },
      {
       "column": "G",
       "header": "الساعات",
       "kind": "formula",
       "formula_row_1": "=IF(H8=\"\",\"\",INDEX('سجل الحضور'!$G$6:$G$4005,H8))"
      },
      {
       "column": "H",
       "header": "السطر",
       "kind": "formula",
       "formula_row_1": "=IF(A8=\"\",\"\",IFERROR(MATCH(A8&\"|\"&'الإعدادات'!$B$8,'سجل الحضور'!$H$6:$H$4005,0),\"\"))"
      }
     ]
    }
   ],
   "results": [
    {
     "label": "اليوم المعروض",
     "cell": "B4",
     "formula": "='الإعدادات'!$B$8"
    },
    {
     "label": "حاضر",
     "cell": "B5",
     "formula": "=COUNTIFS($D$8:$D$107,\"حاضر\")"
    },
    {
     "label": "لم يُسجَّل",
     "cell": "B6",
     "formula": "=COUNTIFS($D$8:$D$107,\"لم يُسجَّل\")"
    }
   ]
  },
  {
   "name": "شبكة الحضور",
   "formula_cells": 3732,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 0,
     "capacity_last_row": 105,
     "columns": [
      {
       "column": "AH",
       "header": "حضور",
       "kind": "formula",
       "formula_row_1": "=IF($A6=\"\",\"\",COUNTIF(C6:AG6,\"✔\"))"
      },
      {
       "column": "AI",
       "header": "غياب",
       "kind": "formula",
       "formula_row_1": "=IF($A6=\"\",\"\",COUNTIF(C6:AG6,\"✘\"))"
      },
      {
       "column": "AJ",
       "header": "بعذر",
       "kind": "formula",
       "formula_row_1": "=IF($A6=\"\",\"\",COUNTIF(C6:AG6,\"ع\"))"
      },
      {
       "column": "AK",
       "header": "نسبة الحضور",
       "kind": "formula",
       "formula_row_1": "=IF($A6=\"\",\"\",IF(AH6+AI6+AJ6=0,\"\",AH6/(AH6+AI6+AJ6)))"
      }
     ]
    }
   ],
   "results": [
    {
     "label": "الشهر",
     "cell": "B4",
     "formula": "=YEAR('الإعدادات'!$B$5)&\"-\"&IF(MONTH('الإعدادات'!$B$5)<10,\"0\",\"\")&MONTH('الإعدادات'!$B$5)"
    }
   ]
  },
  {
   "name": "المفوضون بالاستلام",
   "formula_cells": 400,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 26,
     "capacity_last_row": 405,
     "columns": [
      {
       "column": "A",
       "header": "كود الطفل",
       "kind": "input",
       "examples": [
        "C01",
        "C01",
        "C02"
       ],
       "allowed_values": {
        "from_range": "'الأطفال'!$A$6:$A$105"
       }
      },
      {
       "column": "B",
       "header": "الطفل",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",IFERROR(INDEX('الأطفال'!$B$6:$B$105,MATCH(A6&\"\",'الأطفال'!$A$6:$A$105,0)),\"كود غير موجود\"))"
      },
      {
       "column": "C",
       "header": "اسم المفوَّض بالاستلام",
       "kind": "input",
       "examples": [
        "محمود السيد",
        "دينا حسن",
        "حسن عبد الله"
       ]
      },
      {
       "column": "D",
       "header": "الصلة",
       "kind": "input",
       "examples": [
        "الأب",
        "الأم",
        "الأب"
       ]
      },
      {
       "column": "E",
       "header": "الجوال",
       "kind": "input",
       "examples": [
        "01001230001",
        "01001230101",
        "01001230002"
       ]
      }
     ]
    }
   ]
  },
  {
   "name": "سجل الاستلام",
   "formula_cells": 3000,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 13,
     "capacity_last_row": 1005,
     "columns": [
      {
       "column": "A",
       "header": "التاريخ",
       "kind": "input",
       "examples": [
        "2026-11-10",
        "2026-11-10",
        "2026-11-10"
       ]
      },
      {
       "column": "B",
       "header": "كود الطفل",
       "kind": "input",
       "examples": [
        "C01",
        "C02",
        "C05"
       ],
       "allowed_values": {
        "from_range": "'الأطفال'!$A$6:$A$105"
       }
      },
      {
       "column": "C",
       "header": "الطفل",
       "kind": "formula",
       "formula_row_1": "=IF(B6&\"\"=\"\",\"\",IFERROR(INDEX('الأطفال'!$B$6:$B$105,MATCH(B6&\"\",'الأطفال'!$A$6:$A$105,0)),\"كود غير موجود\"))"
      },
      {
       "column": "D",
       "header": "من استلم الطفل",
       "kind": "input",
       "examples": [
        "محمود السيد",
        "سلمى عبد الله",
        "خالد زكريا"
       ]
      },
      {
       "column": "E",
       "header": "وقت الاستلام",
       "kind": "input",
       "examples": [
        "13:30:00",
        "13:45:00",
        "14:05:00"
       ]
      },
      {
       "column": "F",
       "header": "المصرّح؟",
       "kind": "formula",
       "formula_row_1": "=IF(B6&\"\"=\"\",\"\",IF(C6=\"كود غير موجود\",\"كود غير موجود\",IF(COUNTIFS('المفوضون بالاستلام'!$A$6:$A$405,B6&\"\",'المفوضون بالاستلام'!$C$6:$C$405,D6&\"\")>0,\"مصرّح\",\"غير مصرّح\")))"
      },
      {
       "column": "G",
       "header": "تأخير (دقيقة)",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(E6),MAX(0,HOUR(E6)*60+MINUTE(E6)-(HOUR('الإعدادات'!$B$7)*60+MINUTE('الإعدادات'!$B$7))),\"\")"
      },
      {
       "column": "H",
       "header": "ملاحظة",
       "kind": "input",
       "examples": [
        "اتصلنا بولي الأمر قبل التسليم"
       ]
      }
     ]
    }
   ]
  },
  {
   "name": "الموظفون",
   "formula_cells": 40,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 6,
     "capacity_last_row": 45,
     "columns": [
      {
       "column": "A",
       "header": "الموظف",
       "kind": "input",
       "examples": [
        "منى السيد",
        "هالة فتحي",
        "سمر عادل"
       ]
      },
      {
       "column": "B",
       "header": "الوظيفة",
       "kind": "input",
       "examples": [
        "مربية",
        "مربية",
        "مربية"
       ]
      },
      {
       "column": "C",
       "header": "المجموعة",
       "kind": "input",
       "examples": [
        "الرضّع",
        "المشي",
        "الصغار"
       ],
       "allowed_values": {
        "from_range": "'الإعدادات'!$B$12:$B$17"
       }
      },
      {
       "column": "D",
       "header": "الجوال",
       "kind": "input",
       "examples": [
        "01101230001",
        "01101230002",
        "01101230003"
       ]
      },
      {
       "column": "E",
       "header": "تاريخ التعيين",
       "kind": "input",
       "examples": [
        "2024-09-01",
        "2024-09-01",
        "2025-09-01"
       ]
      },
      {
       "column": "F",
       "header": "الراتب الشهري",
       "kind": "input",
       "examples": [
        3200,
        3200,
        3000
       ]
      },
      {
       "column": "G",
       "header": "أطفال مجموعته",
       "kind": "formula",
       "formula_row_1": "=IF(C6&\"\"=\"\",\"\",COUNTIFS('الأطفال'!$M$6:$M$105,C6&\"\",'الأطفال'!$H$6:$H$105,\"ملتحق\"))"
      }
     ]
    }
   ]
  },
  {
   "name": "المصروفات",
   "formula_cells": 0,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 14,
     "capacity_last_row": 19,
     "columns": [
      {
       "column": "A",
       "header": "التاريخ",
       "kind": "input",
       "examples": [
        "2026-10-01",
        "2026-10-05",
        "2026-10-06"
       ]
      },
      {
       "column": "B",
       "header": "البند",
       "kind": "input",
       "examples": [
        "إيجار",
        "مرافق",
        "وجبات وتغذية"
       ],
       "allowed_values": {
        "from_range": "'الإعدادات'!$F$12:$F$19"
       }
      },
      {
       "column": "C",
       "header": "البيان",
       "kind": "input",
       "examples": [
        "إيجار شهر أكتوبر",
        "كهرباء ومياه",
        "وجبات وعصائر الأسبوع الأول"
       ]
      },
      {
       "column": "D",
       "header": "المبلغ",
       "kind": "input",
       "examples": [
        5000,
        1250,
        650
       ]
      },
      {
       "column": "E",
       "header": "طريقة الدفع",
       "kind": "input",
       "examples": [
        "تحويل بنكي",
        "نقدًا",
        "نقدًا"
       ],
       "allowed_values": [
        "نقدًا",
        "تحويل بنكي",
        "محفظة إلكترونية"
       ]
      },
      {
       "column": "F",
       "header": "ملاحظة",
       "kind": "input"
      }
     ]
    }
   ]
  },
  {
   "name": "الملخص",
   "formula_cells": 98,
   "record_tables": [
    {
     "header_row": 25,
     "first_record_row": 26,
     "sample_rows_filled": 0,
     "capacity_last_row": 51,
     "columns": [
      {
       "column": "A",
       "header": "المجموعة",
       "kind": "formula",
       "formula_row_1": "=IF('الإعدادات'!B12&\"\"=\"\",\"\",'الإعدادات'!B12)"
      },
      {
       "column": "B",
       "header": "الأطفال",
       "kind": "formula",
       "formula_row_1": "=IF(A26=\"\",\"\",COUNTIFS('الأطفال'!$M$6:$M$105,A26,'الأطفال'!$H$6:$H$105,\"ملتحق\"))"
      },
      {
       "column": "C",
       "header": "السعة",
       "kind": "formula",
       "formula_row_1": "=IF(A26=\"\",\"\",N('الإعدادات'!D12))"
      },
      {
       "column": "D",
       "header": "الإشغال",
       "kind": "formula",
       "formula_row_1": "=IF(OR(A26=\"\",N(C26)=0),\"\",B26/C26)"
      },
      {
       "column": "E",
       "header": "الموظفون",
       "kind": "formula",
       "formula_row_1": "=IF(A26=\"\",\"\",COUNTIFS('الموظفون'!$C$6:$C$45,A26))"
      },
      {
       "column": "F",
       "header": "طفل لكل موظف",
       "kind": "formula",
       "formula_row_1": "=IF(OR(A26=\"\",N(E26)=0),\"\",B26/E26)"
      },
      {
       "column": "G",
       "header": "رسوم شهرية متوقعة",
       "kind": "formula",
       "formula_row_1": "=IF(A26=\"\",\"\",SUMIFS('الأطفال'!$N$6:$N$105,'الأطفال'!$M$6:$M$105,A26,'الأطفال'!$H$6:$H$105,\"ملتحق\"))"
      }
     ]
    }
   ],
   "results": [
    {
     "label": "الملتحقون",
     "cell": "B5",
     "formula": "=COUNTIFS('الأطفال'!$H$6:$H$105,\"ملتحق\")"
    },
    {
     "label": "المنسحبون",
     "cell": "B6",
     "formula": "=COUNTIFS('الأطفال'!$H$6:$H$105,\"منسحب\")"
    },
    {
     "label": "السعة الكلية",
     "cell": "B7",
     "formula": "=SUM('الإعدادات'!$D$12:$D$17)"
    },
    {
     "label": "نسبة الإشغال",
     "cell": "B8",
     "formula": "=IF(B7=0,\"\",B5/B7)"
    },
    {
     "label": "المحصَّل في الشهر",
     "cell": "B11",
     "formula": "=SUMIFS('المدفوعات'!$D$6:$D$1505,'المدفوعات'!$A$6:$A$1505,\">=\"&DATE(YEAR('الإعدادات'!$B$5),MONTH('الإعدادات'!$B$5),1),'المدفوعات'!$A$6:$A$1505,\"<=\"&EOMONTH('الإعدادات'!$B$5,0))"
    },
    {
     "label": "المصروفات في الشهر",
     "cell": "B12",
     "formula": "=SUMIFS('المصروفات'!$D$6:$D$1005,'المصروفات'!$A$6:$A$1005,\">=\"&DATE(YEAR('الإعدادات'!$B$5),MONTH('الإعدادات'!$B$5),1),'المصروفات'!$A$6:$A$1005,\"<=\"&EOMONTH('الإعدادات'!$B$5,0))"
    },
    {
     "label": "الصافي",
     "cell": "B13",
     "formula": "=B11-B12"
    },
    {
     "label": "إجمالي المتأخر عند الأهالي",
     "cell": "B14",
     "formula": "=SUMIFS('الأطفال'!$R$6:$R$105,'الأطفال'!$R$6:$R$105,\">0\")"
    },
    {
     "label": "عدد المتأخرين",
     "cell": "B15",
     "formula": "=COUNTIFS('الأطفال'!$R$6:$R$105,\">0\")"
    },
    {
     "label": "نسبة التحصيل من المستحق",
     "cell": "B16",
     "formula": "=IF(SUM('الأطفال'!$P$6:$P$105)=0,\"\",SUM('الأطفال'!$Q$6:$Q$105)/SUM('الأطفال'!$P$6:$P$105))"
    },
    {
     "label": "نسبة الحضور في الشهر",
     "cell": "B17",
     "formula": "=IF(COUNTIFS('سجل الحضور'!$A$6:$A$4005,\">=\"&DATE(YEAR('الإعدادات'!$B$5),MONTH('الإعدادات'!$B$5),1),'سجل الحضور'!$A$6:$A$4005,\"<=\"&EOMONTH('الإعدادات'!$B$5,0))=0,\"\",COUNTIFS('سجل الحضور'!$D$6:$D$4005,\"حاضر\",'سجل الحضور'!$A$6:$A$4005,\">=\"&DATE(YEAR('الإعدادات'!$B$5),MONTH('الإعدادات'!$B$5),1),'سجل الحضور'!$A$6:$A$4005,\"<=\"&EOMONTH('الإعدادات'!$B$5,0))/COUNTIFS('سجل الحضور'!$A$6:$A$4005,\">=\"&DATE(YEAR('الإعدادات'!$B$5),MONTH('الإعدادات'!$B$5),1),'سجل الحضور'!$A$6:$A$4005,\"<=\"&EOMONTH('الإعدادات'!$B$5,0)))"
    },
    {
     "label": "أيام الغياب (بعذر وبغير عذر)",
     "cell": "B18",
     "formula": "=COUNTIFS('سجل الحضور'!$D$6:$D$4005,\"غائب\",'سجل الحضور'!$A$6:$A$4005,\">=\"&DATE(YEAR('الإعدادات'!$B$5),MONTH('الإعدادات'!$B$5),1),'سجل الحضور'!$A$6:$A$4005,\"<=\"&EOMONTH('الإعدادات'!$B$5,0))+COUNTIFS('سجل الحضور'!$D$6:$D$4005,\"غياب بعذر\",'سجل الحضور'!$A$6:$A$4005,\">=\"&DATE(YEAR('الإعدادات'!$B$5),MONTH('الإعدادات'!$B$5),1),'سجل الحضور'!$A$6:$A$4005,\"<=\"&EOMONTH('الإعدادات'!$B$5,0))"
    },
    {
     "label": "استلامات غير مصرّح بها",
     "cell": "B19",
     "formula": "=COUNTIFS('سجل الاستلام'!$F$6:$F$1005,\"غير مصرّح\",'سجل الاستلام'!$A$6:$A$1005,\">=\"&DATE(YEAR('الإعدادات'!$B$5),MONTH('الإعدادات'!$B$5),1),'سجل الاستلام'!$A$6:$A$1005,\"<=\"&EOMONTH('الإعدادات'!$B$5,0))"
    },
    {
     "label": "استلامات بعد وقت الإغلاق",
     "cell": "B20",
     "formula": "=COUNTIFS('سجل الاستلام'!$G$6:$G$1005,\">0\",'سجل الاستلام'!$A$6:$A$1005,\">=\"&DATE(YEAR('الإعدادات'!$B$5),MONTH('الإعدادات'!$B$5),1),'سجل الاستلام'!$A$6:$A$1005,\"<=\"&EOMONTH('الإعدادات'!$B$5,0))"
    },
    {
     "label": "عدد الموظفين",
     "cell": "B21",
     "formula": "=COUNTIFS('الموظفون'!$F$6:$F$45,\">0\")"
    },
    {
     "label": "الرواتب الشهرية المقررة",
     "cell": "B22",
     "formula": "=SUM('الموظفون'!$F$6:$F$45)"
    }
   ]
  },
  {
   "name": "لماذا ما زلت على إكسل؟",
   "formula_cells": 0
  }
 ]
}