{
 "id": "general-workshop-jobs",
 "file": "softwiro-general-workshop-jobs.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": "2026-11-10"
    },
    {
     "label": "أول يوم في أسبوع الأجور (مثلًا السبت)",
     "cell": "B5",
     "value": "2026-11-07"
    },
    {
     "label": "أول شهر في جدول الملخص (اكتب يومه الأول)",
     "cell": "B6",
     "value": "2026-10-01"
    }
   ]
  },
  {
   "name": "العملاء",
   "formula_cells": 600,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 7,
     "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": [
        "01012345001",
        "01012345002",
        "01012345003"
       ]
      },
      {
       "column": "D",
       "header": "عدد الأوامر",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",COUNTIFS('أوامر الشغل'!$C$6:$C$405,A6&\"\",'أوامر الشغل'!$I$6:$I$405,\"<>ملغي\"))"
      },
      {
       "column": "E",
       "header": "قيمة الأوامر",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",SUMIFS('أوامر الشغل'!$O$6:$O$405,'أوامر الشغل'!$C$6:$C$405,A6&\"\"))"
      },
      {
       "column": "F",
       "header": "المدفوع",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",SUMIFS('أوامر الشغل'!$R$6:$R$405,'أوامر الشغل'!$C$6:$C$405,A6&\"\"))"
      },
      {
       "column": "G",
       "header": "المتبقي عليه",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",ROUND(E6-F6,2))"
      },
      {
       "column": "H",
       "header": "الحالة",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",IF(G6>0,\"مدين\",IF(G6<0,\"دفع مقدمًا\",IF(D6=0,\"لا أوامر\",\"مسدد\"))))"
      },
      {
       "column": "I",
       "header": "ترتيب المتابعة",
       "kind": "formula",
       "formula_row_1": "=IF(ISNUMBER(G6),IF(G6>0,COUNTIFS($G$6:$G$105,\">\"&G6)+COUNTIFS($G$6:G6,G6),\"\"),\"\")"
      }
     ]
    }
   ]
  },
  {
   "name": "الخامات",
   "formula_cells": 120,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 10,
     "capacity_last_row": 65,
     "columns": [
      {
       "column": "A",
       "header": "كود الخامة",
       "kind": "input",
       "examples": [
        "M01",
        "M02",
        "M03"
       ]
      },
      {
       "column": "B",
       "header": "اسم الخامة",
       "kind": "input",
       "examples": [
        "ماسورة حديد 2 بوصة",
        "زاوية حديد 40×40",
        "قطاع مربع حديد 40×40"
       ]
      },
      {
       "column": "C",
       "header": "الوحدة",
       "kind": "input",
       "examples": [
        "متر",
        "متر",
        "متر"
       ],
       "allowed_values": [
        "كجم",
        "متر",
        "لتر",
        "قطعة",
        "طقم",
        "لوح"
       ]
      },
      {
       "column": "D",
       "header": "سعر الوحدة",
       "kind": "input",
       "examples": [
        140,
        110,
        120
       ]
      },
      {
       "column": "E",
       "header": "الكمية المستهلكة",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",SUMIFS('استهلاك الخامات'!$C$6:$C$2005,'استهلاك الخامات'!$B$6:$B$2005,A6&\"\",'استهلاك الخامات'!$H$6:$H$2005,\"<>ملغي\"))"
      },
      {
       "column": "F",
       "header": "تكلفة المستهلك",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",ROUND(E6*N(D6),2))"
      }
     ]
    }
   ]
  },
  {
   "name": "العمال",
   "formula_cells": 60,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 5,
     "capacity_last_row": 35,
     "columns": [
      {
       "column": "A",
       "header": "كود العامل",
       "kind": "input",
       "examples": [
        "W01",
        "W02",
        "W03"
       ]
      },
      {
       "column": "B",
       "header": "اسم العامل",
       "kind": "input",
       "examples": [
        "سعيد محمود",
        "رضا عبد الحميد",
        "مجدي إبراهيم"
       ]
      },
      {
       "column": "C",
       "header": "المهنة",
       "kind": "input",
       "examples": [
        "حداد أول",
        "حداد",
        "خراط"
       ]
      },
      {
       "column": "D",
       "header": "أجر الساعة",
       "kind": "input",
       "examples": [
        70,
        55,
        80
       ]
      },
      {
       "column": "E",
       "header": "إجمالي الساعات",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",SUMIFS('ساعات العمل'!$D$6:$D$2005,'ساعات العمل'!$C$6:$C$2005,A6&\"\"))"
      },
      {
       "column": "F",
       "header": "إجمالي الأجور",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",ROUND(E6*N(D6),2))"
      }
     ]
    }
   ]
  },
  {
   "name": "أوامر الشغل",
   "formula_cells": 4800,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 9,
     "capacity_last_row": 405,
     "columns": [
      {
       "column": "A",
       "header": "رقم الأمر",
       "kind": "input",
       "examples": [
        "J001",
        "J002",
        "J003"
       ]
      },
      {
       "column": "B",
       "header": "تاريخ الأمر",
       "kind": "input",
       "examples": [
        "2026-10-03",
        "2026-10-06",
        "2026-10-10"
       ]
      },
      {
       "column": "C",
       "header": "كود العميل",
       "kind": "input",
       "examples": [
        "C01",
        "C02",
        "C03"
       ],
       "allowed_values": {
        "from_range": "'العملاء'!$A$6:$A$105"
       }
      },
      {
       "column": "D",
       "header": "وصف الشغل",
       "kind": "input",
       "examples": [
        "باب حديد ضلفتين 2×2.2 م",
        "سور حديد وبوابة (12 متر)",
        "كراسي ارتكاز بالخراطة، محور 40 مم"
       ]
      },
      {
       "column": "E",
       "header": "الكمية",
       "kind": "input",
       "examples": [
        2,
        1,
        20
       ]
      },
      {
       "column": "F",
       "header": "السعر المتفق عليه",
       "kind": "input",
       "examples": [
        11500,
        26000,
        7000
       ]
      },
      {
       "column": "G",
       "header": "العربون",
       "kind": "input",
       "examples": [
        5000,
        10000,
        2000
       ]
      },
      {
       "column": "H",
       "header": "موعد التسليم",
       "kind": "input",
       "examples": [
        "2026-10-15",
        "2026-10-25",
        "2026-10-20"
       ]
      },
      {
       "column": "I",
       "header": "الحالة",
       "kind": "input",
       "examples": [
        "سُلّم",
        "سُلّم",
        "سُلّم"
       ],
       "allowed_values": [
        "جديد",
        "تحت التنفيذ",
        "بانتظار خامة",
        "جاهز",
        "سُلّم",
        "ملغي"
       ]
      },
      {
       "column": "J",
       "header": "تاريخ التسليم",
       "kind": "input",
       "examples": [
        "2026-10-14",
        "2026-10-27",
        "2026-10-21"
       ]
      },
      {
       "column": "K",
       "header": "اسم العميل",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",IFERROR(INDEX('العملاء'!$B$6:$B$105,MATCH(C6&\"\",'العملاء'!$A$6:$A$105,0))&\"\",\"كود غير موجود\"))"
      },
      {
       "column": "L",
       "header": "تكلفة الخامات",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",IF(I6=\"ملغي\",0,SUMIFS('استهلاك الخامات'!$G$6:$G$2005,'استهلاك الخامات'!$A$6:$A$2005,A6&\"\")))"
      },
      {
       "column": "M",
       "header": "تكلفة العمالة",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",IF(I6=\"ملغي\",0,SUMIFS('ساعات العمل'!$G$6:$G$2005,'ساعات العمل'!$B$6:$B$2005,A6&\"\")))"
      },
      {
       "column": "N",
       "header": "إجمالي التكلفة",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",L6+M6)"
      },
      {
       "column": "O",
       "header": "قيمة الأمر",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",IF(I6=\"ملغي\",0,N(F6)))"
      },
      {
       "column": "P",
       "header": "الربح",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",ROUND(O6-N6,2))"
      },
      {
       "column": "Q",
       "header": "هامش الربح",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",IF(O6>0,P6/O6,\"\"))"
      },
      {
       "column": "R",
       "header": "المدفوع",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",N(G6)+SUMIFS('الدفعات'!$C$6:$C$2005,'الدفعات'!$B$6:$B$2005,A6&\"\"))"
      },
      {
       "column": "S",
       "header": "المتبقي",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",ROUND(O6-R6,2))"
      },
      {
       "column": "T",
       "header": "تنبيه",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",IF(U6<>\"\",\"متأخر \"&U6&\" يوم\",IF(AND(I6=\"جاهز\",S6>0),\"جاهز ولم يُسدَّد\",IF(AND(I6=\"سُلّم\",S6>0),\"سُلّم وعليه متبقي\",\"\"))))"
      },
      {
       "column": "U",
       "header": "أيام التأخر",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",IF(AND(ISNUMBER(H6),OR(I6=\"جديد\",I6=\"تحت التنفيذ\",I6=\"بانتظار خامة\")),IF('الإعدادات'!$B$4>H6,'الإعدادات'!$B$4-H6,\"\"),\"\"))"
      },
      {
       "column": "V",
       "header": "ترتيب التأخر",
       "kind": "formula",
       "formula_row_1": "=IF(N(U6)>0,COUNTIFS($U$6:$U$405,\">\"&U6)+COUNTIFS($U$6:U6,U6),\"\")"
      }
     ]
    }
   ]
  },
  {
   "name": "استهلاك الخامات",
   "formula_cells": 10000,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 29,
     "capacity_last_row": 2005,
     "columns": [
      {
       "column": "A",
       "header": "رقم الأمر",
       "kind": "input",
       "examples": [
        "J001",
        "J001",
        "J001"
       ],
       "allowed_values": {
        "from_range": "'أوامر الشغل'!$A$6:$A$405"
       }
      },
      {
       "column": "B",
       "header": "كود الخامة",
       "kind": "input",
       "examples": [
        "M03",
        "M04",
        "M08"
       ],
       "allowed_values": {
        "from_range": "'الخامات'!$A$6:$A$65"
       }
      },
      {
       "column": "C",
       "header": "الكمية",
       "kind": "input",
       "examples": [
        24,
        60,
        3
       ]
      },
      {
       "column": "D",
       "header": "اسم الخامة",
       "kind": "formula",
       "formula_row_1": "=IF(B6&\"\"=\"\",\"\",IFERROR(INDEX('الخامات'!$B$6:$B$65,MATCH(B6&\"\",'الخامات'!$A$6:$A$65,0))&\"\",\"كود غير موجود\"))"
      },
      {
       "column": "E",
       "header": "الوحدة",
       "kind": "formula",
       "formula_row_1": "=IF(B6&\"\"=\"\",\"\",IFERROR(INDEX('الخامات'!$C$6:$C$65,MATCH(B6&\"\",'الخامات'!$A$6:$A$65,0))&\"\",\"\"))"
      },
      {
       "column": "F",
       "header": "سعر الوحدة",
       "kind": "formula",
       "formula_row_1": "=IF(B6&\"\"=\"\",\"\",IFERROR(INDEX('الخامات'!$D$6:$D$65,MATCH(B6&\"\",'الخامات'!$A$6:$A$65,0)),0))"
      },
      {
       "column": "G",
       "header": "التكلفة",
       "kind": "formula",
       "formula_row_1": "=IF(B6&\"\"=\"\",\"\",ROUND(N(C6)*F6,2))"
      },
      {
       "column": "H",
       "header": "حالة الأمر",
       "kind": "formula",
       "formula_row_1": "=IF(A6&\"\"=\"\",\"\",IFERROR(INDEX('أوامر الشغل'!$I$6:$I$405,MATCH(A6&\"\",'أوامر الشغل'!$A$6:$A$405,0))&\"\",\"أمر غير موجود\"))"
      }
     ]
    }
   ]
  },
  {
   "name": "ساعات العمل",
   "formula_cells": 8000,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 39,
     "capacity_last_row": 2005,
     "columns": [
      {
       "column": "A",
       "header": "التاريخ",
       "kind": "input",
       "examples": [
        "2026-10-04",
        "2026-10-05",
        "2026-10-05"
       ]
      },
      {
       "column": "B",
       "header": "رقم الأمر",
       "kind": "input",
       "examples": [
        "J001",
        "J001",
        "J001"
       ],
       "allowed_values": {
        "from_range": "'أوامر الشغل'!$A$6:$A$405"
       }
      },
      {
       "column": "C",
       "header": "كود العامل",
       "kind": "input",
       "examples": [
        "W01",
        "W01",
        "W04"
       ],
       "allowed_values": {
        "from_range": "'العمال'!$A$6:$A$35"
       }
      },
      {
       "column": "D",
       "header": "الساعات",
       "kind": "input",
       "examples": [
        8,
        8,
        8
       ]
      },
      {
       "column": "E",
       "header": "اسم العامل",
       "kind": "formula",
       "formula_row_1": "=IF(C6&\"\"=\"\",\"\",IFERROR(INDEX('العمال'!$B$6:$B$35,MATCH(C6&\"\",'العمال'!$A$6:$A$35,0))&\"\",\"كود غير موجود\"))"
      },
      {
       "column": "F",
       "header": "أجر الساعة",
       "kind": "formula",
       "formula_row_1": "=IF(C6&\"\"=\"\",\"\",IFERROR(INDEX('العمال'!$D$6:$D$35,MATCH(C6&\"\",'العمال'!$A$6:$A$35,0)),0))"
      },
      {
       "column": "G",
       "header": "التكلفة",
       "kind": "formula",
       "formula_row_1": "=IF(C6&\"\"=\"\",\"\",ROUND(N(D6)*F6,2))"
      },
      {
       "column": "H",
       "header": "حالة الأمر",
       "kind": "formula",
       "formula_row_1": "=IF(B6&\"\"=\"\",\"\",IFERROR(INDEX('أوامر الشغل'!$I$6:$I$405,MATCH(B6&\"\",'أوامر الشغل'!$A$6:$A$405,0))&\"\",\"أمر غير موجود\"))"
      }
     ]
    }
   ]
  },
  {
   "name": "الدفعات",
   "formula_cells": 2000,
   "record_tables": [
    {
     "header_row": 5,
     "first_record_row": 6,
     "sample_rows_filled": 7,
     "capacity_last_row": 2005,
     "columns": [
      {
       "column": "A",
       "header": "التاريخ",
       "kind": "input",
       "examples": [
        "2026-10-14",
        "2026-10-27",
        "2026-10-21"
       ]
      },
      {
       "column": "B",
       "header": "رقم الأمر",
       "kind": "input",
       "examples": [
        "J001",
        "J002",
        "J003"
       ],
       "allowed_values": {
        "from_range": "'أوامر الشغل'!$A$6:$A$405"
       }
      },
      {
       "column": "C",
       "header": "المبلغ",
       "kind": "input",
       "examples": [
        6500,
        16000,
        5000
       ]
      },
      {
       "column": "D",
       "header": "طريقة الدفع",
       "kind": "input",
       "examples": [
        "نقدًا",
        "تحويل بنكي",
        "نقدًا"
       ],
       "allowed_values": [
        "نقدًا",
        "تحويل بنكي",
        "محفظة"
       ]
      },
      {
       "column": "E",
       "header": "ملاحظة",
       "kind": "input"
      },
      {
       "column": "F",
       "header": "العميل",
       "kind": "formula",
       "formula_row_1": "=IF(B6&\"\"=\"\",\"\",IFERROR(INDEX('أوامر الشغل'!$K$6:$K$405,MATCH(B6&\"\",'أوامر الشغل'!$A$6:$A$405,0))&\"\",\"أمر غير موجود\"))"
      }
     ]
    }
   ]
  },
  {
   "name": "الأجور الأسبوعية",
   "formula_cells": 339,
   "record_tables": [
    {
     "header_row": 6,
     "first_record_row": 7,
     "sample_rows_filled": 0,
     "capacity_last_row": 36,
     "columns": [
      {
       "column": "I",
       "header": "إجمالي الساعات",
       "kind": "formula",
       "formula_row_1": "=IF($A7=\"\",\"\",SUM(B7:H7))"
      },
      {
       "column": "J",
       "header": "أجر الساعة",
       "kind": "formula",
       "formula_row_1": "=IF($A7=\"\",\"\",'العمال'!D6)"
      },
      {
       "column": "K",
       "header": "أجر الأسبوع",
       "kind": "formula",
       "formula_row_1": "=IF($A7=\"\",\"\",ROUND(I7*J7,2))"
      }
     ]
    }
   ],
   "results": [
    {
     "label": "إجمالي أجور الأسبوع",
     "cell": "B4",
     "formula": "=SUM(K7:K36)"
    },
    {
     "label": "إجمالي ساعات الأسبوع",
     "cell": "B5",
     "formula": "=SUM(I7:I36)"
    }
   ]
  },
  {
   "name": "المتأخرة",
   "formula_cells": 241,
   "record_tables": [
    {
     "header_row": 6,
     "first_record_row": 7,
     "sample_rows_filled": 0,
     "capacity_last_row": 36,
     "columns": [
      {
       "column": "A",
       "header": "م",
       "kind": "formula",
       "formula_row_1": "=IF(1<=$B$4,1,\"\")"
      },
      {
       "column": "B",
       "header": "رقم الأمر",
       "kind": "formula",
       "formula_row_1": "=IF($A7=\"\",\"\",INDEX('أوامر الشغل'!$A$6:$A$405,MATCH($A7,'أوامر الشغل'!$V$6:$V$405,0))&\"\")"
      },
      {
       "column": "C",
       "header": "العميل",
       "kind": "formula",
       "formula_row_1": "=IF($A7=\"\",\"\",INDEX('أوامر الشغل'!$K$6:$K$405,MATCH($A7,'أوامر الشغل'!$V$6:$V$405,0))&\"\")"
      },
      {
       "column": "D",
       "header": "الوصف",
       "kind": "formula",
       "formula_row_1": "=IF($A7=\"\",\"\",INDEX('أوامر الشغل'!$D$6:$D$405,MATCH($A7,'أوامر الشغل'!$V$6:$V$405,0))&\"\")"
      },
      {
       "column": "E",
       "header": "موعد التسليم",
       "kind": "formula",
       "formula_row_1": "=IF($A7=\"\",\"\",INDEX('أوامر الشغل'!$H$6:$H$405,MATCH($A7,'أوامر الشغل'!$V$6:$V$405,0)))"
      },
      {
       "column": "F",
       "header": "أيام التأخر",
       "kind": "formula",
       "formula_row_1": "=IF($A7=\"\",\"\",INDEX('أوامر الشغل'!$U$6:$U$405,MATCH($A7,'أوامر الشغل'!$V$6:$V$405,0)))"
      },
      {
       "column": "G",
       "header": "الحالة",
       "kind": "formula",
       "formula_row_1": "=IF($A7=\"\",\"\",INDEX('أوامر الشغل'!$I$6:$I$405,MATCH($A7,'أوامر الشغل'!$V$6:$V$405,0))&\"\")"
      },
      {
       "column": "H",
       "header": "المتبقي على العميل",
       "kind": "formula",
       "formula_row_1": "=IF($A7=\"\",\"\",INDEX('أوامر الشغل'!$S$6:$S$405,MATCH($A7,'أوامر الشغل'!$V$6:$V$405,0)))"
      }
     ]
    }
   ],
   "results": [
    {
     "label": "عدد الأوامر المتأخرة",
     "cell": "B4",
     "formula": "=COUNT('أوامر الشغل'!$U$6:$U$405)"
    }
   ]
  },
  {
   "name": "الملخص",
   "formula_cells": 66,
   "record_tables": [
    {
     "header_row": 29,
     "first_record_row": 30,
     "sample_rows_filled": 14,
     "capacity_last_row": 44,
     "columns": [
      {
       "column": "A",
       "header": "الحالة",
       "kind": "input",
       "examples": [
        "جديد",
        "تحت التنفيذ",
        "بانتظار خامة"
       ]
      },
      {
       "column": "B",
       "header": "عدد الأوامر",
       "kind": "formula",
       "formula_row_1": "=COUNTIF('أوامر الشغل'!$I$6:$I$405,A30)"
      },
      {
       "column": "C",
       "header": "قيمة الأوامر",
       "kind": "formula",
       "formula_row_1": "=SUMIFS('أوامر الشغل'!$O$6:$O$405,'أوامر الشغل'!$I$6:$I$405,A30)"
      },
      {
       "column": "D",
       "header": "الربح",
       "kind": "formula",
       "formula_row_1": "=SUMIFS('أوامر الشغل'!$P$6:$P$405,'أوامر الشغل'!$I$6:$I$405,A30)"
      }
     ]
    }
   ],
   "results": [
    {
     "label": "عدد الأوامر المسجلة",
     "cell": "B5",
     "formula": "=COUNTIF('أوامر الشغل'!$A$6:$A$405,\"?*\")"
    },
    {
     "label": "أوامر ملغية",
     "cell": "B6",
     "formula": "=COUNTIF('أوامر الشغل'!$I$6:$I$405,\"ملغي\")"
    },
    {
     "label": "أوامر جارية (جديد أو تنفيذ أو بانتظار خامة)",
     "cell": "B7",
     "formula": "=COUNTIF('أوامر الشغل'!$I$6:$I$405,\"جديد\")+COUNTIF('أوامر الشغل'!$I$6:$I$405,\"تحت التنفيذ\")+COUNTIF('أوامر الشغل'!$I$6:$I$405,\"بانتظار خامة\")"
    },
    {
     "label": "أوامر جاهزة ولم تُسلَّم",
     "cell": "B8",
     "formula": "=COUNTIF('أوامر الشغل'!$I$6:$I$405,\"جاهز\")"
    },
    {
     "label": "أوامر مسلّمة",
     "cell": "B9",
     "formula": "=COUNTIF('أوامر الشغل'!$I$6:$I$405,\"سُلّم\")"
    },
    {
     "label": "أوامر متأخرة عن موعدها",
     "cell": "B10",
     "formula": "=COUNT('أوامر الشغل'!$U$6:$U$405)"
    },
    {
     "label": "قيمة الأوامر (دون الملغي)",
     "cell": "B13",
     "formula": "=SUM('أوامر الشغل'!$O$6:$O$405)"
    },
    {
     "label": "تكلفة الخامات",
     "cell": "B14",
     "formula": "=SUM('أوامر الشغل'!$L$6:$L$405)"
    },
    {
     "label": "تكلفة العمالة",
     "cell": "B15",
     "formula": "=SUM('أوامر الشغل'!$M$6:$M$405)"
    },
    {
     "label": "إجمالي التكلفة",
     "cell": "B16",
     "formula": "=B14+B15"
    },
    {
     "label": "الربح قبل المصاريف الثابتة",
     "cell": "B17",
     "formula": "=B13-B16"
    },
    {
     "label": "هامش الربح",
     "cell": "B18",
     "formula": "=IF(B13=0,\"\",B17/B13)"
    },
    {
     "label": "أوامر بخسارة",
     "cell": "B19",
     "formula": "=COUNTIF('أوامر الشغل'!$P$6:$P$405,\"<0\")"
    },
    {
     "label": "المدفوع (عربون ودفعات)",
     "cell": "B22",
     "formula": "=SUM('أوامر الشغل'!$R$6:$R$405)"
    },
    {
     "label": "متبقٍ لدى العملاء (المدينون فقط)",
     "cell": "B23",
     "formula": "=SUMIF('العملاء'!$G$6:$G$105,\">0\")"
    },
    {
     "label": "عملاء مدينون",
     "cell": "B24",
     "formula": "=COUNTIF('العملاء'!$H$6:$H$105,\"مدين\")"
    },
    {
     "label": "أجور أسبوع الإعدادات",
     "cell": "B25",
     "formula": "='الأجور الأسبوعية'!B4"
    },
    {
     "label": "ساعات أسبوع الإعدادات",
     "cell": "B26",
     "formula": "='الأجور الأسبوعية'!B5"
    }
   ]
  },
  {
   "name": "لماذا ما زلت على إكسل؟",
   "formula_cells": 0
  }
 ]
}