1.1.1 فتح Calc وإغلاقه 1.1.1
LibreOffice Calc is a free, open-source spreadsheet application — the Alin Li alternative to Microsoft Excel! It organizes data in rows and columns of cells.
مفتوح: Application Menu → search "LibreOffice Calc" → click to open. Or double-click any .ods / .xlsx file.
Close: Ctrl + W (إغلاق الملف) أو Ctrl + Q (إغلاق التطبيق). انقر زر ❌.
1.1.2–1.1.4 الإنشاء والحفظ 1.1.2–1.1.4
| إجراء | How | Shortcut |
|---|---|---|
| جديد من قالب | File → New → Templates | — |
| Save | File → Save | Ctrl + S |
| Save As (new name/format) | File → Save As | Ctrl + Shift + S |
File formats:
| النوع | Extension | When to Use |
|---|---|---|
| جدول بيانات Open Document | .ods | Default — open standard. استخدم دائمًا! |
| Microsoft Excel | .xlsx | Sharing with Excel users |
| CSV (Comma Separated) | .csv | بيانات عادية — دون تنسيق، تُستخدم لتبادل البيانات |
.pdf | Read-only printed version | |
| نص عادي | .txt | Text only, tab-separated |
1.1.5 التنقل بين جداول البيانات 1.1.5
Use Window menu to see all open spreadsheets, or Alt + Tab to switch windows.
1.2 تعزيز الإنتاجية 1.2
| Feature | How | Shortcut |
|---|---|---|
| Preferences | Tools → Options → LibreOffice → Paths / User Data | — |
| Help | Help → LibreOffice Help | F1 |
| Zoom | Slider (bottom-right) or View → Zoom | Ctrl + تمرير |
| Show/hide toolbars | View → Toolbars → check/uncheck | — |
| Go to a cell | Click the مربع الاسم (يسار شريط الصيغة) ← اكتب عنوان الخلية ← Enter | Ctrl + G أو F5 |
| Go to beginning | — | Ctrl + Home |
| Go to last used cell | — | Ctrl + End |
2.1.1–2.1.2 قواعد الخلايا والممارسات الجيدة 2.1.1–2.1.2
Rule #2 — Good lists: Avoid blank rows/columns in the middle of a data list. Ensure cells surrounding the list are blank. This helps Calc correctly detect the data range for sorting, filtering, and charts.
2.1.3 إدخال البيانات 2.1.3
Click a cell and type. Calc recognises three data types:
| Type | محاذاة | Examples |
|---|---|---|
| الأرقام | Right-aligned automatically | 42, 3.14, -100, 1500 |
| Text (Labels) | محاذاة تلقائية إلى اليسار | الاسم، الإجمالي، يناير |
| Dates | Right-aligned | 15/03/2025, 2025-03-15 |
Press Enter to confirm and move down. Press Tab to confirm and move right.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Student | الرياضيات | Science | Average |
| 2 | Sara | 85 | 92 | =AVERAGE(B2:C2) |
| 3 | أحمد | 78 | 88 | =AVERAGE(B3:C3) |
| 4 | Lina | 95 | 90 | =AVERAGE(B4:C4) |
2.1.4 تحديد الخلايا 2.1.4
| Select | How |
|---|---|
| Single cell | Click it |
| نطاق متجاور (مثل A1:C5) | Click first cell → drag to last cell, OR click first → Shift + انقر على الأخير |
| خلايا غير متجاورة | Select first range → hold Ctrl → select additional ranges |
| Entire row | Click the row number (1, 2, 3...) |
| Entire column | Click the column letter (A, B, C...) |
| Entire worksheet | Click the box at the intersection of row/column headers, or Ctrl + A |
2.2 التحرير والفرز 2.2
Edit a cell: Double-click it (or press F2) للدخول إلى وضع التحرير. غيّر المحتوى → اضغط Enter.
Undo / Redo: Ctrl + Z / Ctrl + Y
Find & Replace: Ctrl + H — works the same as in Writer.
Sort data: Select your data range → Data → Sort → choose column to sort by → ascending (A→Z, 1→9) or descending (Z→A, 9→1).
2.3 النسخ والنقل والحذف والتعبئة التلقائية 2.3
| إجراء | How |
|---|---|
| Copy cells | Select → Ctrl + C → click destination → Ctrl + V |
| نقل الخلايا | Select → Ctrl + X → click destination → Ctrl + V |
| Delete contents | Select → press Delete key |
| Copy between worksheets | Copy → click target sheet tab → paste |
| Copy between files | Copy → switch to other spreadsheet window → paste |
2.3.2 مقبض التعبئة التلقائية 2.3.2
The AutoFill handle is the small square at the bottom-right corner of a selected cell. Drag it to:
3.1.1–3.1.2 تحديد الصفوف والأعمدة 3.1
| Select | How |
|---|---|
| صف واحد | Click the row number |
| صفوف متجاورة | Click first row number → Shift + انقر على الأخير |
| صفوف غير متجاورة | Click first row → Ctrl + انقر على الصفوف الأخرى |
| عمود واحد | Click the column letter |
| أعمدة متجاورة | Click first column → Shift + انقر على الأخير |
| أعمدة غير متجاورة | Click first column → Ctrl + انقر على العناصر الأخرى |
3.1.3–3.1.5 عمليات الصفوف والأعمدة 3.1.3–3.1.5
| إجراء | How |
|---|---|
| Insert row/column | Right-click row/column header → Insert Rows Above/Below or Columns Left/Right |
| Delete row/column | Right-click → Delete Rows / Delete Columns |
| Change column width | Drag the column border in the header, or right-click → Column Width → enter value |
| العرض الأمثل | Double-click the column border — auto-fits to content! |
| Change row height | Drag row border, or right-click → Row Height |
| Freeze rows/columns | Click below & right of what to freeze → View → Freeze Rows and Columns |
3.2 العمل بأوراق العمل 3.2
يمكن لملف جدول بيانات أن يحتوي على عدة worksheets (أوراق عمل) — تظهر كعلامات تبويب في الأسفل.
| إجراء | How |
|---|---|
| Switch sheets | Click the sheet tab at the bottom |
| Insert new sheet | Right-click a tab → Insert Sheet, or click the + button |
| Delete sheet | Right-click tab → Delete Sheet (⚠️ can't undo!) |
| Rename sheet | Double-click the tab → type new name → Enter |
| نقل/نسخ الورقة | Right-click tab → Move/Copy Sheet → choose destination |
4.1.1 ممارسة جيدة: استخدم مراجع الخلايا! 4.1.1
✅
=A1*B1 — if A1 or B1 changes, the formula updates automatically!❌
=5*10 — if data changes, you must manually re-type the formula.4.1.2 الصيغ الحسابية 4.1.2
Every formula starts with = (علامة يساوي). ثم استخدم مراجع الخلايا والمعاملات:
| المُشغِّل | المعنى | Example | Result (if A1=10, B1=3) |
|---|---|---|---|
+ | جمع | =A1+B1 | 13 |
- | Subtraction | =A1-B1 | 7 |
* | الضرب | =A1*B1 | 30 |
/ | Division | =A1/B1 | 3.33 |
| A | B | C | |
|---|---|---|---|
| 1 | Item | Price | Qty |
| 2 | دفتر ملاحظات | 5.50 | 3 |
| 3 | قلم | 1.20 | 10 |
| 4 | Total Cost: | =B2*C2+B3*C3 → 28.50 | |
4.1.3 Common Error Values 4.1.3
| Error | المعنى | Common Cause |
|---|---|---|
#NAME? | Calc doesn't recognise the name | اسم دالة مكتوب خطأً (مثل SUMM بدل SUM) |
#DIV/0! | Division by zero | تقسم صيغة على خلية تحتوي على 0 أو فارغة |
#REF! | Invalid cell reference | حُذفت خلية يُشار إليها في الصيغة |
#VALUE! | Wrong type of value | Using text where a number is expected (e.g., =5+"hello") |
4.1.4 Relative vs. Absolute References 4.1.4
A1): يتغيّر عند نسخ الصيغة. إذا نسخت =A1+B1 down one row, it becomes =A2+B2. هذا هو الإعداد الافتراضي، وهو المناسب عادةً!مرجع مطلق (e.g.,
$A$1): لا يتغيّر عند النسخ. تثبّت علامة $ الصف و/أو العمود. استخدمه عند الإشارة إلى خلية ثابتة، مثل معدل الضريبة.مختلط:
$A1 locks column A only. A$1 locks row 1 only.
4.2.1 Essential Functions 4.2.1
| Function | What It Does | Example | Result |
|---|---|---|---|
=SUM() | يجمع كل الأرقام | =SUM(A1:A5) | Total of A1 through A5 |
=AVERAGE() | Calculates the mean | =AVERAGE(B1:B10) | Average of the 10 values |
=MIN() | Finds the smallest number | =MIN(C1:C20) | أقل قيمة |
=MAX() | Finds the largest number | =MAX(C1:C20) | Highest value |
=COUNT() | Counts cells with numbers | =COUNT(A1:A100) | How many numbers |
=COUNTA() | Counts cells that aren't empty | =COUNTA(A1:A100) | How many non-empty cells |
=ROUND() | Rounds to specified decimals | =ROUND(3.14159, 2) | 3.14 |
4.2.2 The IF Function 4.2.2
The IF function makes decisions! It tests a condition and returns one value if TRUE, another if FALSE:
=IF(condition, value_if_true, value_if_false)| Example | What It Does |
|---|---|
=IF(A1>=50, "Pass", "Fail") | If A1 is 50 or more → "Pass", otherwise → "Fail" |
=IF(B2>100, B2*0.9, B2) | If B2 > 100 → apply 10% discount, otherwise keep original |
=IF(C3=0, "Empty", C3) | If C3 is 0 → show "Empty", otherwise show the value |
Comparison operators: = (يساوي)، > (أكبر من)، < (أقل من)، >= (أكبر من أو يساوي)، <= (أقل من أو يساوي)، <> (لا يساوي).
🎮 Activity: Match the Function!
5.1 Number & Date Formatting 5.1
Select cells → Format → Cells → Numbers tab (or Ctrl + 1):
| النوع | Example Input | Displayed As |
|---|---|---|
| Decimal places (2) | 3.5 | 3.50 |
| Thousands separator | 1500000 | 1,500,000 |
| Currency | 25 | $25.00 أو 25.00 QAR |
| نسبة مئوية | 0.75 | 75% |
| Date | 45365 | 15/03/2024 (أو تنسيق تاريخ آخر) |
5.2 Text & Cell Formatting 5.2
| النوع | How | Shortcut |
|---|---|---|
| Font size / type | Formatting toolbar dropdowns | — |
| Bold | Toolbar button | Ctrl + B |
| Italic | Toolbar button | Ctrl + I |
| Underline | Toolbar button | Ctrl + U |
| Double underline | Format → Cells → Font Effects | — |
| Font colour | Font Color dropdown on toolbar | — |
| Cell background colour | Highlighting dropdown on toolbar | — |
| AutoFormat / Table style | Select range → Format → AutoFormat Styles | — |
| Copy formatting | Clone Formatting button (paintbrush 🖌️) | — |
5.3 Alignment, Wrapping, Merge & Borders 5.3
| Feature | What It Does | Where |
|---|---|---|
| Text wrapping | يلتف النص الطويل داخل الخلية بدلًا من تجاوز حدودها | Format → Cells → Alignment → Wrap text ✅ |
| Horizontal align | يسار، وسط، يمين | Formatting toolbar alignment buttons |
| Vertical align | Top, Middle, Bottom | Format → Cells → Alignment |
| الاتجاه | Rotate text to any angle (e.g., 45° for headers) | Format → Cells → Alignment → degrees |
| دمج الخلايا | Combine multiple cells into one big cell (for titles) | Format → Merge Cells → Merge and Center |
| Unmerge | Split a merged cell back | Format → Merge Cells → Unmerge |
| Borders | أضف خطوطًا حول الخلايا (النمط، السمك، اللون) | Format → Cells → Borders tab, or Borders dropdown on toolbar |
6.1.1 Chart Types 6.1.1
6.1.2–6.1.5 Creating & Managing Charts 6.1.2–6.1.5
- Select your data (including headers)
- Go to Insert → Chart
- Choose chart type (Column, Bar, Line, Pie)
- عدّل نطاق البيانات والسلاسل عند الحاجة
- أضف عنوانًا ← انقر Finish
Select chart: Click on it (handles appear). نقل: Drag. Resize: Drag corner handles. Delete: Select → Delete. Change type: Double-click chart → right-click → Chart Type.
6.2 Editing Charts 6.2
Double-click the chart to enter edit mode, then right-click for options:
| Edit | How |
|---|---|
| إضافة عنوان المخطط أو تعديله | Insert → Title, or click existing title to edit |
| إضافة وسيلة الإيضاح أو إزالتها | Insert → Legend, or right-click legend → Delete |
| إضافة تسميات البيانات (القيم/النسب المئوية) | Click data series → Insert → Data Labels → choose Values or Percentages |
| Change background colour | Right-click chart area → Format Chart Area → Area tab |
| Change legend colour | Right-click legend → Format Legend → Area tab |
| Change bar/line/slice colours | Click a bar/slice → right-click → Format Data Point → Area tab |
| Change font size/colour of title, axes, legend | Click the element → right-click → Format → Character tab |
7.1 Page Setup 7.1
Go to Format → Page Style:
| Setting | Where | الخيارات |
|---|---|---|
| الهوامش | علامة تبويب الصفحة ← الهوامش | Top, Bottom, Left, Right (in cm) |
| الاتجاه | علامة تبويب الصفحة | عمودي / أفقي |
| مقاس الورق | علامة تبويب الصفحة ← التنسيق | A4 وLetter وغيرهما. |
| Scale to fit pages | Sheet tab → Scale → Fit to number of pages | Shrink/stretch to fit X pages wide by Y tall |
| Headers/Footers | Header/Footer tabs | Enable, add text, page numbers, date, file name, sheet name |
7.2 Check & Print 7.2
| إجراء | How |
|---|---|
| Spell check | Tools → Spelling (F7) — يعمل مثل Writer |
| Show/hide gridlines for print | Format → Page Style → Sheet tab → Print → Grid ✅/❌ |
| Show/hide row & column headers | Same Sheet tab → Print → Column & Row headers ✅/❌ |
| Print title rows on every page | Format → Print Ranges → Edit → Rows to repeat → select your header row (e.g., $1) |
| Print Preview | File → Print Preview (Ctrl + Shift + J) |
| Print worksheet | Ctrl + P → choose All sheets / Active sheets / Selection |
| Print selected cells only | Select range → File → Print → Selection option |
| Print a chart only | Select the chart → Ctrl + P |
| عدد النسخ | Set in Print dialog |
أكاديمية Alin Li ICDL — Spreadsheets with LibreOffice Calc