{
 "id": "lending-library",
 "file": "softwiro-lending-library.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": 9,
     "first_record_row": 10,
     "sample_rows_filled": 4,
     "capacity_last_row": 17,
     "columns": [
      {
       "column": "A",
       "header": "نوع العضو",
       "kind": "input",
       "examples": [
        "طالب",
        "معلم",
        "عضو"
       ]
      },
      {
       "column": "B",
       "header": "مدة الاستعارة (يوم)",
       "kind": "input",
       "examples": [
        14,
        30,
        21
       ]
      },
      {
       "column": "C",
       "header": "الحد الأقصى للكتب المعارة معًا",
       "kind": "input",
       "examples": [
        3,
        5,
        4
       ]
      }
     ]
    }
   ],
   "settings": [
    {
     "label": "تاريخ اليوم",
     "cell": "B4",
     "value": "2026-11-15"
    },
    {
     "label": "أي تاريخ داخل شهر الملخص",
     "cell": "B5",
     "value": "2026-10-15"
    },
    {
     "label": "غرامة التأخير عن اليوم الواحد",
     "cell": "B6",
     "value": 2
    },
    {
     "label": "الحد الأقصى للغرامة على الاستعارة الواحدة",
     "cell": "B7",
     "value": 40
    }
   ]
  },
  {
   "name": "الكتب",
   "formula_cells": 1800,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 12,
     "capacity_last_row": 305,
     "columns": [
      {
       "column": "A",
       "header": "كود الكتاب",
       "kind": "input",
       "examples": [
        "B001",
        "B002",
        "B003"
       ]
      },
      {
       "column": "B",
       "header": "العنوان",
       "kind": "input",
       "examples": [
        "الأيام",
        "ثرثرة فوق النيل",
        "عمارة يعقوبيان"
       ]
      },
      {
       "column": "C",
       "header": "المؤلف",
       "kind": "input",
       "examples": [
        "طه حسين",
        "نجيب محفوظ",
        "علاء الأسواني"
       ]
      },
      {
       "column": "D",
       "header": "التصنيف",
       "kind": "input",
       "examples": [
        "روايات وأدب",
        "روايات وأدب",
        "روايات وأدب"
       ],
       "allowed_values": {
        "from_range": "'الإعدادات'!$E$10:$E$24"
       }
      },
      {
       "column": "E",
       "header": "عدد النسخ",
       "kind": "input",
       "examples": [
        3,
        2,
        2
       ]
      },
      {
       "column": "F",
       "header": "مكان الرف",
       "kind": "input",
       "examples": [
        "أ1",
        "أ1",
        "أ2"
       ]
      },
      {
       "column": "G",
       "header": "معار الآن",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",SUMIFS('الاستعارة'!$O$6:$O$1005,'الاستعارة'!$C$6:$C$1005,A6&\"\"))"
      },
      {
       "column": "H",
       "header": "تالف / مفقود",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",SUMIFS('التالف والمفقود'!$D$6:$D$205,'التالف والمفقود'!$B$6:$B$205,A6&\"\"))"
      },
      {
       "column": "I",
       "header": "المتاح الآن",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",N(E6)-G6-H6)"
      },
      {
       "column": "J",
       "header": "مرات الاستعارة",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",COUNTIFS('الاستعارة'!$C$6:$C$1005,A6&\"\"))"
      },
      {
       "column": "K",
       "header": "الحالة",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",IF(N(E6)=0,\"بلا نسخ\",IF(I6<0,\"خطأ في العدد\",IF(I6=0,\"غير متاح الآن\",\"متاح\"))))"
      },
      {
       "column": "L",
       "header": "ترتيب الاستعارة",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",COUNTIF($J$6:$J$305,\">\"&J6)+COUNTIF($J$6:J6,J6))"
      }
     ]
    }
   ]
  },
  {
   "name": "الأعضاء",
   "formula_cells": 2400,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 10,
     "capacity_last_row": 305,
     "columns": [
      {
       "column": "A",
       "header": "كود العضو",
       "kind": "input",
       "examples": [
        "M001",
        "M002",
        "M003"
       ]
      },
      {
       "column": "B",
       "header": "الاسم",
       "kind": "input",
       "examples": [
        "أحمد سامح",
        "منة الله حسن",
        "يوسف عادل"
       ]
      },
      {
       "column": "C",
       "header": "النوع",
       "kind": "input",
       "examples": [
        "طالب",
        "طالب",
        "طالب"
       ],
       "allowed_values": {
        "from_range": "'الإعدادات'!$A$10:$A$14"
       }
      },
      {
       "column": "D",
       "header": "الصف أو الجهة",
       "kind": "input",
       "examples": [
        "الثاني الإعدادي - ب",
        "الأول الإعدادي - أ",
        "الثالث الإعدادي - ب"
       ]
      },
      {
       "column": "E",
       "header": "الجوال",
       "kind": "input",
       "examples": [
        "01010000001",
        "01010000002",
        "01010000003"
       ]
      },
      {
       "column": "F",
       "header": "انتهاء العضوية",
       "kind": "input",
       "examples": [
        "2027-06-30",
        "2027-06-30",
        "2027-06-30"
       ]
      },
      {
       "column": "G",
       "header": "كتب معارة الآن",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",SUMIFS('الاستعارة'!$O$6:$O$1005,'الاستعارة'!$B$6:$B$1005,A6&\"\"))"
      },
      {
       "column": "H",
       "header": "الحد الأقصى",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",IFERROR(INDEX('الإعدادات'!$C$10:$C$14,MATCH(C6&\"\",'الإعدادات'!$A$10:$A$14,0)),\"\"))"
      },
      {
       "column": "I",
       "header": "إجمالي الاستعارات",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",COUNTIFS('الاستعارة'!$B$6:$B$1005,A6&\"\"))"
      },
      {
       "column": "J",
       "header": "متأخرة الآن",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",COUNTIFS('الاستعارة'!$B$6:$B$1005,A6&\"\",'الاستعارة'!$J$6:$J$1005,\"متأخرة\"))"
      },
      {
       "column": "K",
       "header": "كل الغرامات",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",SUMIFS('الاستعارة'!$L$6:$L$1005,'الاستعارة'!$B$6:$B$1005,A6&\"\"))"
      },
      {
       "column": "L",
       "header": "غرامات غير مدفوعة",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",SUMIFS('الاستعارة'!$M$6:$M$1005,'الاستعارة'!$B$6:$B$1005,A6&\"\"))"
      },
      {
       "column": "M",
       "header": "الحالة",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",IF(AND(ISNUMBER(F6),F6<'الإعدادات'!$B$4),\"عضوية منتهية\",IF(AND(N(H6)>0,G6>N(H6)),\"تجاوز الحد\",IF(J6>0,\"عليه متأخرات\",\"سليم\"))))"
      },
      {
       "column": "N",
       "header": "ترتيب النشاط",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",COUNTIF($I$6:$I$305,\">\"&I6)+COUNTIF($I$6:I6,I6))"
      }
     ]
    }
   ]
  },
  {
   "name": "الاستعارة",
   "formula_cells": 13000,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 34,
     "capacity_last_row": 1005,
     "columns": [
      {
       "column": "A",
       "header": "تاريخ الاستعارة",
       "kind": "input",
       "examples": [
        "2026-10-01",
        "2026-10-01",
        "2026-10-02"
       ]
      },
      {
       "column": "B",
       "header": "كود العضو",
       "kind": "input",
       "examples": [
        "M001",
        "M002",
        "M009"
       ],
       "allowed_values": {
        "from_range": "'الأعضاء'!$A$6:$A$305"
       }
      },
      {
       "column": "C",
       "header": "كود الكتاب",
       "kind": "input",
       "examples": [
        "B006",
        "B001",
        "B010"
       ],
       "allowed_values": {
        "from_range": "'الكتب'!$A$6:$A$305"
       }
      },
      {
       "column": "D",
       "header": "تاريخ الإرجاع",
       "kind": "input",
       "examples": [
        "2026-10-12",
        "2026-10-20",
        "2026-10-14"
       ]
      },
      {
       "column": "E",
       "header": "الغرامة المدفوعة",
       "kind": "input",
       "examples": [
        10,
        10,
        10
       ]
      },
      {
       "column": "F",
       "header": "اسم العضو",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(A6),IFERROR(INDEX('الأعضاء'!$B$6:$B$305,MATCH(B6&\"\",'الأعضاء'!$A$6:$A$305,0)),\"عضو غير موجود\"),\"\")"
      },
      {
       "column": "G",
       "header": "عنوان الكتاب",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(A6),IFERROR(INDEX('الكتب'!$B$6:$B$305,MATCH(C6&\"\",'الكتب'!$A$6:$A$305,0)),\"كتاب غير موجود\"),\"\")"
      },
      {
       "column": "H",
       "header": "نوع العضو",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(A6),IFERROR(INDEX('الأعضاء'!$C$6:$C$305,MATCH(B6&\"\",'الأعضاء'!$A$6:$A$305,0)),\"\"),\"\")"
      },
      {
       "column": "I",
       "header": "موعد الإرجاع",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(A6),IFERROR(A6+INDEX('الإعدادات'!$B$10:$B$14,MATCH(H6&\"\",'الإعدادات'!$A$10:$A$14,0)),\"\"),\"\")"
      },
      {
       "column": "J",
       "header": "الحالة",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(A6),IF(ISNUMBER(D6),IF(N(K6)>0,\"أُعيدت متأخرة\",\"أُعيدت\"),IF(N(K6)>0,\"متأخرة\",\"معارة\")),\"\")"
      },
      {
       "column": "K",
       "header": "أيام التأخير",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(I6),MAX(0,IF(ISNUMBER(D6),D6,'الإعدادات'!$B$4)-I6),\"\")"
      },
      {
       "column": "L",
       "header": "الغرامة",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(A6),IF(N(K6)>0,ROUND(MIN('الإعدادات'!$B$7,K6*'الإعدادات'!$B$6),2),0),\"\")"
      },
      {
       "column": "M",
       "header": "غرامة غير مدفوعة",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(A6),MAX(0,ROUND(L6-N(E6),2)),\"\")"
      },
      {
       "column": "N",
       "header": "تنبيه",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(A6),IF(F6=\"عضو غير موجود\",\"كود العضو غير موجود\",IF(G6=\"كتاب غير موجود\",\"كود الكتاب غير موجود\",IF(AND(ISNUMBER(D6),N(D6)<A6),\"تاريخ الإرجاع قبل الاستعارة\",IF(AND(IFERROR(N(INDEX('الأعضاء'!$F$6:$F$305,MATCH(B6&\"\",'الأعضاء'!$A$6:$A$305,0))),0)>0,A6>IFERROR(N(INDEX('الأعضاء'!$F$6:$F$305,MATCH(B6&\"\",'الأعضاء'!$A$6:$A$305,0))),0)),\"العضوية منتهية وقت الاستعارة\",IF(AND(O6=1,IFERROR(N(INDEX('الإعدادات'!$C$10:$C$14,MATCH(H6&\"\",'الإعدادات'!$A$10:$A$14,0))),0)>0,SUMIFS(O$6:O6,B$6:B6,B6&\"\")>IFERROR(N(INDEX('الإعدادات'!$C$10:$C$14,MATCH(H6&\"\",'الإعدادات'!$A$10:$A$14,0))),0)),\"تجاوز حد الكتب\",\"\"))))),\"\")"
      },
      {
       "column": "O",
       "header": "مفتوحة (1/0)",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(A6),IF(ISNUMBER(D6),0,1),\"\")"
      },
      {
       "column": "P",
       "header": "تصنيف الكتاب",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(A6),IFERROR(INDEX('الكتب'!$D$6:$D$305,MATCH(C6&\"\",'الكتب'!$A$6:$A$305,0)),\"\"),\"\")"
      },
      {
       "column": "Q",
       "header": "مفتاح المتأخر",
       "kind": "formula",
       "formula_row_1": "=IF(J6=\"متأخرة\",K6,\"\")"
      },
      {
       "column": "R",
       "header": "ترتيب المتأخر",
       "kind": "formula",
       "formula_row_1": "=IF(Q6=\"\",\"\",COUNTIF(Q$6:Q$1005,\">\"&Q6)+COUNTIF(Q$6:Q6,Q6))"
      }
     ]
    }
   ]
  },
  {
   "name": "المتأخرات",
   "formula_cells": 543,
   "record_tables": [
    {
     "header_row": 8,
     "first_record_row": 9,
     "sample_rows_filled": 0,
     "capacity_last_row": 68,
     "columns": [
      {
       "column": "A",
       "header": "م",
       "kind": "formula",
       "formula_row_1": "=IF(1<=$B$4,1,\"\")"
      },
      {
       "column": "B",
       "header": "كود العضو",
       "kind": "formula",
       "formula_row_1": "=IF($A9=\"\",\"\",INDEX('الاستعارة'!$B$6:$B$1005,MATCH($A9,'الاستعارة'!$R$6:$R$1005,0))&\"\")"
      },
      {
       "column": "C",
       "header": "العضو",
       "kind": "formula",
       "formula_row_1": "=IF($A9=\"\",\"\",INDEX('الاستعارة'!$F$6:$F$1005,MATCH($A9,'الاستعارة'!$R$6:$R$1005,0))&\"\")"
      },
      {
       "column": "D",
       "header": "الجوال",
       "kind": "formula",
       "formula_row_1": "=IF($A9=\"\",\"\",IFERROR(INDEX('الأعضاء'!$E$6:$E$305,MATCH(B9&\"\",'الأعضاء'!$A$6:$A$305,0))&\"\",\"\"))"
      },
      {
       "column": "E",
       "header": "الكتاب",
       "kind": "formula",
       "formula_row_1": "=IF($A9=\"\",\"\",INDEX('الاستعارة'!$G$6:$G$1005,MATCH($A9,'الاستعارة'!$R$6:$R$1005,0))&\"\")"
      },
      {
       "column": "F",
       "header": "تاريخ الاستعارة",
       "kind": "formula",
       "formula_row_1": "=IF($A9=\"\",\"\",INDEX('الاستعارة'!$A$6:$A$1005,MATCH($A9,'الاستعارة'!$R$6:$R$1005,0)))"
      },
      {
       "column": "G",
       "header": "موعد الإرجاع",
       "kind": "formula",
       "formula_row_1": "=IF($A9=\"\",\"\",INDEX('الاستعارة'!$I$6:$I$1005,MATCH($A9,'الاستعارة'!$R$6:$R$1005,0)))"
      },
      {
       "column": "H",
       "header": "أيام التأخير",
       "kind": "formula",
       "formula_row_1": "=IF($A9=\"\",\"\",INDEX('الاستعارة'!$K$6:$K$1005,MATCH($A9,'الاستعارة'!$R$6:$R$1005,0)))"
      },
      {
       "column": "I",
       "header": "الغرامة حتى اليوم",
       "kind": "formula",
       "formula_row_1": "=IF($A9=\"\",\"\",INDEX('الاستعارة'!$L$6:$L$1005,MATCH($A9,'الاستعارة'!$R$6:$R$1005,0)))"
      }
     ]
    }
   ],
   "results": [
    {
     "label": "استعارات متأخرة الآن",
     "cell": "B4",
     "formula": "=COUNTIFS('الاستعارة'!$J$6:$J$1005,\"متأخرة\")"
    },
    {
     "label": "غرامات المتأخرات حتى اليوم",
     "cell": "B5",
     "formula": "=SUMIFS('الاستعارة'!$L$6:$L$1005,'الاستعارة'!$J$6:$J$1005,\"متأخرة\")"
    },
    {
     "label": "التاريخ المعتمد",
     "cell": "B6",
     "formula": "='الإعدادات'!$B$4"
    }
   ]
  },
  {
   "name": "التالف والمفقود",
   "formula_cells": 600,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 2,
     "capacity_last_row": 205,
     "columns": [
      {
       "column": "A",
       "header": "التاريخ",
       "kind": "input",
       "examples": [
        "2026-11-05",
        "2026-11-12"
       ]
      },
      {
       "column": "B",
       "header": "كود الكتاب",
       "kind": "input",
       "examples": [
        "B003",
        "B006"
       ],
       "allowed_values": {
        "from_range": "'الكتب'!$A$6:$A$305"
       }
      },
      {
       "column": "C",
       "header": "النوع",
       "kind": "input",
       "examples": [
        "تالف",
        "مفقود"
       ],
       "allowed_values": [
        "تالف",
        "مفقود"
       ]
      },
      {
       "column": "D",
       "header": "عدد النسخ",
       "kind": "input",
       "examples": [
        1,
        1
       ]
      },
      {
       "column": "E",
       "header": "كود العضو",
       "kind": "input",
       "examples": [
        "M009",
        "M010"
       ],
       "allowed_values": {
        "from_range": "'الأعضاء'!$A$6:$A$305"
       }
      },
      {
       "column": "F",
       "header": "عنوان الكتاب",
       "kind": "formula",
       "formula_row_1": "=IF(B6&\"\"=\"\",\"\",IFERROR(INDEX('الكتب'!$B$6:$B$305,MATCH(B6&\"\",'الكتب'!$A$6:$A$305,0)),\"كتاب غير موجود\"))"
      },
      {
       "column": "G",
       "header": "اسم العضو",
       "kind": "formula",
       "formula_row_1": "=IF(E6&\"\"=\"\",\"\",IFERROR(INDEX('الأعضاء'!$B$6:$B$305,MATCH(E6&\"\",'الأعضاء'!$A$6:$A$305,0)),\"عضو غير موجود\"))"
      },
      {
       "column": "H",
       "header": "التعويض المطلوب",
       "kind": "input",
       "examples": [
        40,
        120
       ]
      },
      {
       "column": "I",
       "header": "المدفوع",
       "kind": "input",
       "examples": [
        40
       ]
      },
      {
       "column": "J",
       "header": "المتبقي",
       "kind": "formula",
       "formula_row_1": "=IF(B6&\"\"=\"\",\"\",ROUND(N(H6)-N(I6),2))"
      }
     ]
    }
   ]
  },
  {
   "name": "الأكثر استعارة",
   "formula_cells": 60,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 22,
     "capacity_last_row": 28,
     "columns": [
      {
       "column": "A",
       "header": "م",
       "kind": "input",
       "examples": [
        1,
        2,
        3
       ]
      },
      {
       "column": "B",
       "header": "العنوان",
       "kind": "formula",
       "formula_row_1": "=IF(D6=\"\",\"\",INDEX('الكتب'!$B$6:$B$305,MATCH(A6,'الكتب'!$L$6:$L$305,0)))"
      },
      {
       "column": "C",
       "header": "المؤلف",
       "kind": "formula",
       "formula_row_1": "=IF(D6=\"\",\"\",INDEX('الكتب'!$C$6:$C$305,MATCH(A6,'الكتب'!$L$6:$L$305,0))&\"\")"
      },
      {
       "column": "D",
       "header": "مرات الاستعارة",
       "kind": "formula",
       "formula_row_1": "=IFERROR(IF(INDEX('الكتب'!$J$6:$J$305,MATCH(A6,'الكتب'!$L$6:$L$305,0))=0,\"\",INDEX('الكتب'!$J$6:$J$305,MATCH(A6,'الكتب'!$L$6:$L$305,0))),\"\")"
      }
     ]
    }
   ]
  },
  {
   "name": "الملخص",
   "formula_cells": 34,
   "settings": [
    {
     "label": "التصنيف",
     "cell": "B29",
     "value": "عدد الاستعارات"
    }
   ],
   "results": [
    {
     "label": "عدد العناوين",
     "cell": "B5",
     "formula": "=COUNT('الكتب'!$J$6:$J$305)"
    },
    {
     "label": "عدد النسخ",
     "cell": "B6",
     "formula": "=SUM('الكتب'!$E$6:$E$305)"
    },
    {
     "label": "معارة الآن",
     "cell": "B7",
     "formula": "=SUM('الكتب'!$G$6:$G$305)"
    },
    {
     "label": "تالفة أو مفقودة",
     "cell": "B8",
     "formula": "=SUM('الكتب'!$H$6:$H$305)"
    },
    {
     "label": "متاحة للاستعارة الآن",
     "cell": "B9",
     "formula": "=SUM('الكتب'!$I$6:$I$305)"
    },
    {
     "label": "عدد الأعضاء",
     "cell": "B10",
     "formula": "=COUNT('الأعضاء'!$I$6:$I$305)"
    },
    {
     "label": "أعضاء عضويتهم منتهية",
     "cell": "B11",
     "formula": "=COUNTIF('الأعضاء'!$M$6:$M$305,\"عضوية منتهية\")"
    },
    {
     "label": "أعضاء تجاوزوا حد الكتب",
     "cell": "B12",
     "formula": "=COUNTIF('الأعضاء'!$M$6:$M$305,\"تجاوز الحد\")"
    },
    {
     "label": "استعارات متأخرة الآن",
     "cell": "B15",
     "formula": "=COUNTIFS('الاستعارة'!$J$6:$J$1005,\"متأخرة\")"
    },
    {
     "label": "غرامات المتأخرات حتى اليوم",
     "cell": "B16",
     "formula": "=SUMIFS('الاستعارة'!$L$6:$L$1005,'الاستعارة'!$J$6:$J$1005,\"متأخرة\")"
    },
    {
     "label": "إجمالي الغرامات على كل الاستعارات",
     "cell": "B17",
     "formula": "=SUM('الاستعارة'!$L$6:$L$1005)"
    },
    {
     "label": "المحصّل منها",
     "cell": "B18",
     "formula": "=SUM('الاستعارة'!$E$6:$E$1005)"
    },
    {
     "label": "غير المدفوع",
     "cell": "B19",
     "formula": "=SUM('الاستعارة'!$M$6:$M$1005)"
    },
    {
     "label": "تعويضات التالف والمفقود المطلوبة",
     "cell": "B20",
     "formula": "=SUM('التالف والمفقود'!$H$6:$H$205)"
    },
    {
     "label": "المحصّل من التعويضات",
     "cell": "B21",
     "formula": "=SUM('التالف والمفقود'!$I$6:$I$205)"
    },
    {
     "label": "استعارات الشهر",
     "cell": "B24",
     "formula": "=COUNTIFS('الاستعارة'!$A$6:$A$1005,\">=\"&DATE(YEAR('الإعدادات'!$B$5),MONTH('الإعدادات'!$B$5),1),'الاستعارة'!$A$6:$A$1005,\"<=\"&EOMONTH('الإعدادات'!$B$5,0))"
    },
    {
     "label": "كتب أُعيدت في الشهر",
     "cell": "B25",
     "formula": "=COUNTIFS('الاستعارة'!$D$6:$D$1005,\">=\"&DATE(YEAR('الإعدادات'!$B$5),MONTH('الإعدادات'!$B$5),1),'الاستعارة'!$D$6:$D$1005,\"<=\"&EOMONTH('الإعدادات'!$B$5,0))"
    },
    {
     "label": "غرامات استعارات الشهر",
     "cell": "B26",
     "formula": "=SUMIFS('الاستعارة'!$L$6:$L$1005,'الاستعارة'!$A$6:$A$1005,\">=\"&DATE(YEAR('الإعدادات'!$B$5),MONTH('الإعدادات'!$B$5),1),'الاستعارة'!$A$6:$A$1005,\"<=\"&EOMONTH('الإعدادات'!$B$5,0))"
    }
   ]
  },
  {
   "name": "لماذا ما زلت على إكسل؟",
   "formula_cells": 0
  }
 ]
}