Computer-Skills Material 2020 PDF
Computer-Skills Material 2020 PDF
COMPUTER SKILLS
Computer Skills
2020/2021
Alaa Abu-Srhan
[email protected]
Table of Contents
Course Syllabus ..................................................................................................................................... 4
What is Microsoft Excel 2010 (MS Excel) .................................................................................................. 7
Starting Microsoft Excel 2010.................................................................................................................. 7
Excel window ........................................................................................................................................ 7
Entering data in the worksheet: ............................................................................................................ 10
Number of cell in specific range ............................................................................................................ 11
Saving workbook ................................................................................................................................. 11
Close Workbook.................................................................................................................................. 12
Close excel .......................................................................................................................................... 12
open workbook .................................................................................................................................. 12
print your document ............................................................................................................................ 12
create a new workbook ....................................................................................................................... 12
Dealing with excel sheets ..................................................................................................................... 13
Columns and Rows............................................................................................................................... 14
Dealing with cells ................................................................................................................................. 17
undo and redo ..................................................................................................................................... 18
auto fill ............................................................................................................................................... 19
Cell Formatting .................................................................................................................................... 20
1. Font fomating: .......................................................................... 20
2. Alignment cell ........................................................................... 20
3. Borders .............................................................................................. 21
4. Marge and center ................................................................. 22
5. Fill color ............................................................................................ 22
6. Warp text ....................................................................................... 23
7. Shrink to .......................................................................................... 23
8. Text orientation ...................................................................... 23
9. Format painter ......................................................................... 24
10. Strikethrough: ........................................................................... 24
11. Number Format: .................................................................... 25
12. Comma style ............................................................................... 26
Cell Style ............................................................................................................................................. 26
Format as a Table ................................................................................................................................ 26
Sort Data............................................................................................................................................. 27
alaa abu srhan 1
email: [email protected]
Search and Replace .............................................................................................................................. 31
comment ............................................................................................................................................ 32
Filter ................................................................................................................................................... 33
past special ......................................................................................................................................... 38
define name ........................................................................................................................................ 39
Protection ........................................................................................................................................... 42
Formula .............................................................................................................................................. 44
Copying Formula.................................................................................................................................. 46
Errors of formula and function .............................................................................................................. 50
Functions ............................................................................................................................................ 55
Date and Time Functions .................................................................................................................. 56
math and trig functions .................................................................................................................... 58
Logical Functions .............................................................................................................................. 66
Text functions .................................................................................................................................. 71
Function Summary ............................................................................................................................... 77
Microsoft Access 2010 .......................................................................................................................... 81
Database Concept ................................................................................................................................ 81
Microsoft Access .................................................................................................................................. 82
starting Access .............................................................................................................................. 82
creating a new database ................................................................................................................ 82
interface element .......................................................................................................................... 83
create table .................................................................................................................................. 83
showing or hiding object tabs ......................................................................................................... 84
saveing a table .............................................................................................................................. 84
the views type ..................................................................................................................................... 85
open and close table ........................................................................................................................... 86
delete and rename table ...................................................................................................................... 86
data type ............................................................................................................................................ 88
Adjust column width ............................................................................................................................ 90
adding records to a table ...................................................................................................................... 90
moving between field to a table ........................................................................................................... 90
Deleting records .................................................................................................................................. 91
primary key ....................................................................................................................................... 92
field properties .................................................................................................................................... 94
Filter ................................................................................................................................................... 99
sort................................................................................................................................................... 101
relationships ..................................................................................................................................... 101
alaa abu srhan 2
email: [email protected]
referential integrity ........................................................................................................................ 105
forms ................................................................................................................................................ 107
query ................................................................................................................................................ 112
reports: ............................................................................................................................................. 121
access object summary ....................................................................................................................... 127
(110108116)
Hashemite University
3 Credit Hours
Faculty of Science
Course Syllabus
قسم المواد العلمية المساندة
Course Information
Text Book: . د,"محمد بالل" الزعبي. د, )الحاسوب والبرمجيات الجاهزة (المهارات االساسية
2013 الطبعه الثالثة, دار زمزم للنشر, خالدة الزعبي, أمجد هديب. د,أحمد الشرايعة
Date and Time Functions (Now, Today, Day, Month, Year), Math
and Trig Functions (Sum, SumIF, Round), Statistical Functions
(Count, CountBlank, CountA, CountIF, Min, Max, Average), Logical 7
Functions( IF, And, Or, Not, True, False) , Nested functions.
M
8
c
c
s
r
i
عند فتح البرنامج قبل عملية الحفظbook1 االسم االفتراضي للمصنف هو
Contains icons for system commands relating to the windows such as maximize,
minimize, and close button.
تحتوي على مجموعة من االوامر الخاصة بنظام الوندوز مثل تكبير وتصغير واغالق
2. Quick Access Toolbar ( )شريط ادوات الوصول السريعAllows quick access for the common
functions that are frequently used ()يضم االوامر التي نستخدمها بكثرة.
3. File tab: in earlier releases it was office button contains many basic commands such
as (Open, save, print, …….. etc.)
... تحتوي على االوامر المهمة في برنامج اكسل مثل فتح او حفظ او اغالق
4. Active Cell: the cell in which you can type
الخلية النشطة هي الخلية التي يمكن الكتابة فيها
Cell ( )خلية: intersection between column and row, the smallest block of information
Cell
Active Cell
(The border of the active
cell appears Bold)
Group
10. Ribbon ()الشريط: The typical menus and toolbars have been replace with
ribbon
تم استبدال المظهر القديم للقوائم واشرطة االدوات بالشريط
*Contains groups of icons for the commands
تحتوي على مجموعة من االوامر
*every tab has its own ribbon
كل تبويب له شريط خاص به
Column A
Column heading
Row heading
*Range()المدى: مجموعة من الخاليا المظللة ويكون اسم المدى هو مرجع أول خلية في المدى ومرجع
آخر خلية فيه يفصل بينهما نقطتان رأسيتان
active cell
B2:D3 Range start from B2 and goes over to column D and down to row 3.
*Example:
Active cell is
first cell in
the range.
Saving workbook
The first time you save a workbook you assign it a name and choose the folder in
which to save it.
اذا اردت حفظ ملف عليك باختيار اسم له وكذلك تحديد المجلد الذي تريد الحفظ فيه
steps: خطوات الحفظ
1. Click save from quick access tool bar or from file.
2. save as dialog box will open.
3. choose the folder in which you want to save the workbook .
4. click in the file name and then type a name for the file.
اذا اردنا انشاء مصنف مشابه للمصنف الحالي مع بعض التغيرات دون الحاجة الى انشاء المصنف مرة اخرى او
.save بدال منsave as اذا اردنا تغيير مكان الحفظ نستخدم
saving the workbook frequently is important because if you lose power, the worksheet
could be lost
من الضروري القيام بحفظ البيانات بشكل متكرر بحيث لو انقطع التيار الكهربائي نضمن عدم ضياع البيانات
3. Rename sheet:
R.C (right click ) on sheet name rename type the new name
OR
Double click on sheet name, the sheet will be highlighted مظللة type new
name.
وجود التظليل على اسم ورقة العمل يدل
على انه يمكن تغيير اسم ورقة العمل
OR
Homecellsformat rename sheet
4. Copy and move sheet within a workbook
Move: drag the selected sheet along the row of sheet tabs.
اضغط على ورقة العمل بالماوس مع االستمرار بالضغط فتظهر شكل ورقة على المؤشر ويظهر سهم
يبين مكان وضع ورقة العمل ومن تم قم بتحريك ورقة العمل الى المكان الجديد
Copy: hold down Ctrl key and drag the sheets, release the mouse button before
you release the Ctrl key.
+ يظهر اشارةCtrl قم بتحرير زر الماوس قبل تحريرCtrl نفس خطوات النسخ لكن مع الضغط على
على شكل الورقة التي تظهر على المؤشر
OR
Homecellformatmove or copy sheet
alaa abu srhan 13
email: [email protected]
5. Copying or moving a worksheet between workbooks
a) Open the needed workbooks.
b) Right click on the worksheet you want to “move or copy “it, then chose move or
copy.
c) “Move or Copy” dialog box will appear.
d) In to book list click the workbook that you want to “move or copy” it.
e) Check create a copy check box if you want to create a copy, uncheck it if you
want to move it.
Active sheet name appears bold which mean that you work on it
6. Hide sheet
Select sheethomecellsformat(visibility)hide &unhidehide sheet
Columns and Rows
1. select column and row
the easiest method to select a column is to click the column label (column
header)
to select a row the easiest method is to click the row label(row header)
اسهل طريقة الختيار صف او عمود هو بالضغط على ترويسة الصف او العمود المراد اختياره
2. Insert rows into a worksheet :
Click a cell in the row bellow where you want the new row to be inserted
home tab cells group click the arrow next to insertinsertsheet rows
OR
R.C on the row labeling insert row.
اذا اردنا ان نضيف صف فاننا نختار خلية في الصف الذي نريد ان نضيف الصف الجديد فوقه
3. Insert column into a worksheet :
Click a cell in the column to the right of where you want the new column to be inserted
home cells click the arrow next to insert insert sheet column.
OR Right click on the column label insert column.
alaa abu srhan 14
email: [email protected]
اذا اردنا ان نضيف عمود فاننا نختار خلية في العمود الذي نريد ان نضيف العمود الجديد الى يساره
4. Delete rows or columns
Delete row:
Select cell in row you want to delete it
Home cells delete sheet row
Delete column:
Select cell in column you want to delete it
Home cells delete sheet column
عند حذف الصف تتحرك البيانات الموجودة اسفل الصف المحدد الى اعلى لتحتل المساحة التي تركها
.الصف المحذوف
عنذ حذف العمود تتحرك البيانات الموجودة على يسار العمود المحذوف لتحتل المساحة التي تركها
.العمود المحذوف
5. Adjusting column width:
Three methods :
a) Place the mouse pointer on or near the right edge of the column labeling
The pointer will change into a thick black bar with arrows pointer left and
right.
Drag to the right to increase the width or drag to left to decrease the
width
ضع المؤشر على الطرف االيمن من رمز العمود يصبح شكل المؤشر على النحو التالي
الرقم الموجود حاليا هو عرض العمود الحالي قم بتغيير الرقم لتغيير عرض العمود
c) To change a column's width to fit its contents (auto fit) احتواء تلقائي
Select the column home cell auto fit column width.
Or
Put curser near the right edge of the column and then double click.
يصبح عرض العمود مناسب مع محتويات الخاليا في هذا العمود
6. Adjusting row height
Three methods :
a) Place the mouse pointer on or near the bottom edge of the row label.
The pointer will change into a thick black bar with arrows pointer up and
down.
b) Home (tab) cells (group) format row height row height dialog
box will appear.
الرقم الموجود حاليا هو ارتفاع الصف الحالي قم بتغيير الرقم لتغيير ارتفاع الصف
c) To change a row's height to fit its contents (auto fit) احتواء تلقائي
Select the row home cell auto fit row height.
Or
Put curser near the bottom edge of the row header, and then double
click.
.ضع المؤشر على طرف ترويسة الصف من االسفل ومن ثم انقر على الماوس نقرا مزدوجا
يصبح ارتفاع الصف مناسب مع محتويات الخاليا في هذا الصف
7. Hide column and row
To hide column: الخفاء العمود
Select the column home cell format(visibility) Hide & unhidehide
columns
To hide row: الخفاء الصف
Select the row home cell format(visibility) Hide & unhidehide
rows
When the curser turns into an I-beam مؤشر وامض عمودي صغيرenter the new
value.
OR
Double click the selected cell to display the insertion pointe change the
data.
OR
Click on the cell and start writing from keyboard بهذه الحالة نغير كل محتوى الخلية
6. Moving or copying the content of cell between worksheets within the same
workbook: نقل او نسخ محتوى الخلية بين اوراق العمل في نفس المصنف
Select the cells that you want to move or copy ctrl+c for copy or ctr+x for
moveclick on the second worksheet tabclick at the location you wish to
past the data to and then press ctrl+v.
7. Moving or copying the content of cell between workbooks نقل او نسخ محتوى الخلية بين
اوراق العمل ألكثر من مصنف
Select the cells that you want to move or copy ctrl+c for copy or ctr+x for
moveview (tab)window (group)switch windowsselect the workbook
you want to view select any sheet click at the location you wish to past
the data to and then press ctrl+v.
undo and redo
Undo: للتراجع عن اخر عملية قمت بها
Redo : نعيد اخر خطوة او عملية تمت مرة اخرى- عكس التراجع
كما في.للتراجع عن عدة اجراءات متتابعة مرة واحدة انقر فوق السهم واختار االجراءات التي تريد التراجع عنها
الشكل
يمكن عمل تعبئة تلقائية اليام االسبوع واالشهر بنفس الطريقة فقط بكتابة اول شهر او اول يوم باالسبوع بالخلية
االولى ومن تم السحب.
Font نوع الخط: , font size حجم الخط, bold غامق,italic مائل, underline تحته خط, fill color
لون الخلفية, font color لون الخط
or
Homecellsformat format cells font tab
وضع خط او خطين تحت محتوى الخلية حيث يوجد خيارينunderline يمكن باستخدام: مالحظة
double underline اوunderline
you can set one line or two lines under the cell contents by using underline command
3. Borders: االطار
Adding border to cell(s):
Select the cell(s) home font border press on arrow next to border
chose the suitable border style
4. Marge and center دمج الخاليا:joins the selection cells into one large cell and center
the content in the new cell, it often used to create a title over a cell range.
عند دمج الخاليا يجب االنتباه الى ان الخاليا التي يراد دمجها ال تحتوي على بيانات لتجنب فقدانها
Home alignment marge and center
unmerge cells اللغاء الدمج قم بتظليل الخاليا تم اختار
Or
Homecellsformatformat cell alignment
text controlMarge cells
Homecellsformatfomat cellNumber
example :
يمكن تغيير عدد المنازل العشرية
Cell Style
Quick format a cell by choosing from predefine styles (set of formatting characteristics,
such as fonts and font sizes, number formats, cell borders, and cell shading)
or we can define it as
built-in combination of formats that can be applied to a range of cells
بحيث يمكن تطبيقه على مجموعة من الخاليا وهيا عبارة عن, تنسيق الخلية عن طريق تنسيق معرف مسبقا
مجموعة من التنسيقات المعرفة مسبقا على االكسيل حيث يمكن تطبيقها على خلية أو اكثر
Homestyle cell style
Format as a Table
Quick format a range of cells and convert it to a table by choosing a predefine table
style
تنسيق مجموعة من الخاليا بشكل سريع على شكل جدول عن طريق االختيار من مجموعة من التنسيقات المعرفة
مسبقا
Home styles format as table click table format you want to apply format as
table dialog box will appear.
name : االجابة
Sort Data
فرز البيانات
You can sort text, numbers or dates in ascending تصاعديor descending تنازلي
To sort date:
1. select any cell within the list range تاكد من اختيار الخاليا المناسبة
2. home editing sort & filter
اذا كان يوجد اكثر من عمود يوجد فيه بيانات وقمنا بفرز احد االعمدة تظهر رسالة تحذرية
Sort column from left to right فرز حسب الصف وليس العمود:
1. Select any cell
2. Home editing sort and filter custom sort
3. Press option button
4. From sort option choose sort left to right
5. Select the row you want to sort it
add level عمود واحد الضافة عمود جديد نختارsort by بالبداية يكون فقط
The result:
يصبح على الخلية التي تحتوي على تعليق مثلث احمر على الزاوية العليا اليمنى:مالحظة
red triangle in the top right corner
To edit a comment:
Select the cell with comment reviewedit commentrewrite what you want
click outside he comment box when you finish.
To delete a comment:
Select the cell with comment reviewdelete.
OR
R.C on the cell with comment delete comment.
عن طريقcomments يمكن التنقل بين ال
reviewcomments next ( (االنتقال الى التعليق التالي
or
reviewcommentsprevious )(االنتقال الى التعليق السابق
التصفية Filter:
تصفية بناء على شرط معين Include filtering by selection for simple criteria
يجب ان تحتوي الخاليا على معلومات
select a range of cells homeeditingsort and filter filter
يظهر سهم بجانب اول صف
بالعمود المحدد وهذا يدل ان هذا العمود جاهز الجراءالتصفية
ما نريد اظهاره نضع بجانبه اشارة الصح
وما ال نريد اظهاره نزيل اشارة الصح وذلك حسب الشرط
عليه.
number filter:
وبذلك تكون الخطواتnumber filter اذا كان العمود يحتوي على ارقام او تواريخ فانه يمكن اجراء
:كالتالي
Home EditingSort & FilterFilter Number FilterCustom Filter
ومن ثم اختيار الشرطcustom filter يمكن اختيار الشرط مباشرة او اختيار
في حالة اردنا ان نختار خيار ليس بالقائمة وفي حالة اخترنا اي خيار في القائمةcustom filter نختار
custom filter يظهر لنا صندوق حوار
number filter اذا كان العمود يحتوي على ارقام فانه يمكن اجراء التصفية
after you choose your condition, the custom auto filter will appear
يجب معرفة ماذا يعني كل شرط من الشروط: مالحظة
example:
if we have table contain 200 students and their marks , and we want to show the
students who got mark greater than 50:
Home--> Editing-->Sort & Filter-->Filter--> Number Filter-->Custom Filter
50 ومن ثم نضعgreater than نختار
example:
filter data and show only any row contain name of ali or
jad, and mark greater than 11
jad اوali الشرط اظهار الخاليا التي تحتوي اسم
11 وتكون العالمة اكثر من
Quarter
Quarter 1 month 1, 2, and 3
Quarter 2 month 4, 5, and 6
Quarter 3 month 7, 8, and 9
Quarter 4 month 10, 11, and 12
4.
to remove filter :
homeeditingsort and filter filter
يكون لونه برتقالي اذا كان مفعل
، كل شيء في الخلية أو النطاق المصدر، Excel بشكل افتراضي عندما تقوم بالنسخ (أو القص) واللصق في
هذا هو االجراء الذي يحدث. يتم لصقها في الخلية (الخاليا) الوجهة، والتحقق من الصحة، والصيغ، والتنسيق
لديك العديد من خيارات اللصق األخرى الموجودة في، بما انك قد ال تريده. للصقهCTRL + V عند الضغط علي
قد تحتاج إلى لصق محتويات خليه ولكن بدون، علي سبيل المثال. استنادا إلى ما تقوم بنسخه، ""لصق خاص
أو قد تحتاج إلى لصق نتيجة. أو ربما تريد تبديل موضع البيانات التي تم لصقها من الصفوف إلى االعمده.تنسيقها
. يتم تنفيذ كل هذه االمور عن طريق لصق خاص.صيغه بدال من الصيغة نفسها
Validation Paste data validation rules for the copied cells to the paste area.
All using Source theme Paste all cell contents and formatting using the theme that was applied to the source data.
All except borders Paste all cell contents in the document theme formatting that is applied to the copied data.
Column widths Paste the width of one column or range of columns to another column or range of
columns.
Formulas and number Paste only formulas and number formatting options from the selected cells.
formats
Values and number formats Paste only values and number formatting options from the selected cells.
example:
اذا اردنا ان نضيف العدد,اذا اردنا ان نقوم باجراء عملية حسابية على عمود معين وبابقاء النتيجة في نفس العمود
A1:A5 على جميع الخاليا5
: نتبع الخطوات التالية
5 بالرقمB1 نقوم بملئ الخلية.1
B1 نقوم بعمل نسخ للخلية.2
A1:A5 تم نقوم بتحديد الخاليا.3
past special .4
add قم باختيارoperation من.5
None Paste the contents of the copy area without a mathematical operation.
Add Add the values in the copy area to the values in the paste area.
Subtract Subtract the values in the copy area from the values in the paste area.
Multiply Multiply the values in the paste area by the values in the copy area.
Divide Divide the values in the paste area by the values in the copy area.
:يوجد انواع اخرى للعمليات وهي كالتاليarthmatic operation تسمى هذه العمليات العمليات الحسابية
Arithmetic operation /,*,+,-
Relational operation >,<,=,<> ,>=,<=
Logical operation And ,or , not
: لنقل محتويات عمود الى صف
select the column copy select the row past special transpose.
define name
naming range of cells , formulas, and more.
we have a range of cells, we give it a specific name, A name makes it easy to reference
a cell or range because you don't have to remember the exact cell address, you simply
need to remember the name.
تحديد مجموعة من الخاليا وتحديد اسم لها من اجل استخدام االسم في اي معادلة بدال من تحديد مجموعة الخاليا
naming cells using row and column labels (header name) اول سطر:
يمكن اختيار االسم مباشرة من الخاليا التي ثم اختيارها مثل ان يكون اول خلية في المدى الذي تم اختياره
define name هو ال
make the name of cells is the same as the top selected value (by using a title of the cells)
Select the range of cells to be named formuladefined names name from
selection select "top"
deleting name:
Formuladefined namesname managerselect the name you want to
deletedelete
Protection has 3 levels: protect worksheet protect workbook , protect excel document
حماية المصنف و حماية ورقة العمل وحماية ملف االكسل: يوجد ثالث انواع للحماية
protecting worksheet elements: حماية محتويات ورقة العمل
it's possible to protect a worksheet so that only users with the correct password
can access the worksheet. You can prevent user from inserting, deleting,
formatting rows and columns, and changing the content of a locked cell.
يمكن حماية ورقة العمل بحيث فقط الشخص الذي يملك كلمة المرور الصحيحة هو الذي بامكانه التحكم
يمكن حماية الورقة من حذف او اضافة او التنسيق على االعمدة والصفوف أوتغيير محتوى.بورقة العمل
.الخاليا
select the cells that you want to protect homecellsformatformat
cellselect protection tab.
نقوم بادخال كلمة المرور(كلمة للفتح وكلمة للتعديل) بعدها في كل مرة نقوم بفتح المصنف يطلب كلمة
.المرور
read-only recommended
أي انه ال يمكن اجراء اي تعديل على الملف ولكن اذا قمت بالتعديل وارضت الحفظ يقوم اكسل بالسؤال فيما اذا
copy اسم الملف االصلي: كنت تريد انشاء نسخة جديدة مع التعديالت التي قمت بها يكون اسم النسخة الجديدة
.xlsx ويكون امتدادهof
always create backup
كل ما تقوم بتعديل يقوم الجهاز بعمل نسخة احتياطية عن الملف االصلي
: يصبح هناك نسختين
النسخة االصلية.1
xlk امتدادهاbackup of نسخة احتياطيةاسمه اسم الملف االصلي.2
alaa لنفترض ان اسم الملف االصلي هو
unprotect a workbook
filesave astools general optiongeneral optiondialog box will
appeardelete the password from password to open or password to modify.
examples:
1)
=1+5+4 --> this formula will return 10
2)
Answer: 19
Example2:
Answer: 11
Example3:
Answer: TRUE
Example4:
Answer: FALSE
alaa abu srhan 45
email: [email protected]
نقل المعادلة Copying Formula
مرجع الخلية Cell reference
له نوعين :
.1نسبي )by default ( relative
.2مطلق absolute
مثال :
إذا أردنا نقل المعادلة في الخلية C1الى الخلية C3فأن المعادلة سوف تتغير الن مرجع الخلية نسبي أي أنه
سوف يتغير حسب مكان النقل نالحظ ان النقل في نفس العمود وانتقلنا من الصف االول الى الصف الثالث
وبالتالي فان المعادلة يتغير فيها قيم الصفوف بمقدار الفرق بين الخليتين التي تم النقل بينهما وهو 3-1=2لذلك
تصبح المعادلة عند نقلها من C1الى C3هي A3+B3ويكون الناتج في الخلية C3هو .7
إذا أردنا نقل المعادلة في الخلية C1الى الخلية E1نالحظ ان النقل في نفس الصف وانتقلنا من العمود Cالى
العمود Eوبالتالي فان المعادلة يتغير فيها قيم االعمدة بمقدار الفرق بين الخليتين التي تم النقل بينهما وهو عمودين
لذلك تصبح المعادلة عند نقلها من C1الى E1هي C1+D1ويكون الناتج في الخلية E1هو .2
إذا أردنا نقل المعادلة في الخلية C1الى الخلية E4نالحظ ان النقل في عمود وصف مختلفين اي ان قيم الصفوف
واالعمدة سوف تتغير بالمعادلة بمقدار الفرق بين الخليتين التي تم نقل بينهما وهو 3=1-4صفوف و عمودين
المعادلة هي A1+B1عند زيادة 3صفوف تصبح A4+B4وعند زيادة عمودين تصبح C4+D4لذلك تصبح
المعادلة عند نقلها من C1الى E4هي C4+D4ويكون الناتج في الخلية E4هو 0الن الخليتين C4و D4فارغتين
اي ان قيمتهما هو صفر .
مثال: 2
A B C
1 mark After add Add
2 80 5
3 70
4 55
5 90
6 92
7 72
8 82
9 60
المطلوب اضافة عالمة اضافية للطالب جميعهم بمقدار محتوى الخلية C2وتخزينها في العمود B
alaa abu srhan 46
email: [email protected]
نقوم بكتابة المعادلة التالية في B2=A2+C2
لعمل نفس المعادلة لباقي الخاليا في العمود Bنقوم بنسخ المعادلة المعادلة من B2ولصقها في B3:B9
في هذه الحالة سوف يكون مرجع الخلية نسبي فتكون المعادالت كالتالي:
A B C
1 mark After add Add
2 80 A2+C2 5
3 70 A3+C3
4 55 A4+C4
5 90 A5+C5
6 92 A6+C6
7 72 A7+C7
8 82 A8+C8
9 60 A9+C9
والنتائج :
A B C
1 mark After add Add
2 80 85 5
3 70 70
4 55 55
5 90 90
6 92 92
7 72 72
8 82 82
9 60 60
تم اضافة 5عالمات فقط للخلية B2
لحل المشكلة يجب استخدم مرجع الخاليا المطلق كالتالي:
نقوم بوضع المعادلة التالية في B2
A2+$C$2
أي ان A2مرجع نسبي فيتغير تبعا لمكان المعادلة فاذا تم وضعها في B3
فانها تصبح A3
بينما C2فهو مطلق فيبقى ثابت مهما كانت الخلية التي نسخنا اليها المعادلة النها مطلقة ( تكتب على الشكل
التالي )$C$1 :
والنتائج :
A B C
1 mark After add Add
2 80 85 5
3 70 75
4 55 60
5 90 95
6 92 97
7 72 77
8 82 87
9 60 65
إذا أردنا نقل المعادلة في الخلية C1الى الخلية E4نالحظ ان النقل في عمود وصف مختلفين اي ان قيم
الصفوف واالعمدة سوف تتغير بالمعادلة بمقدار الفرق بين الخليتين التي تم نقل بينهما وهو 3=1-4صفوف و
عمودين لكن وجود اشارة $قبل رمز العمود Aو Bيعني ان قيمة العمود Aو Bسوف يبقى ثابت مهما كان
مكان النقل الن مرجع الخلية نسبي
نجد الفرق في االعمدة والصفوف بين الخلية التي يتم النقل منها والخلية التي يتم النقل اليها
C1-->F1 )difference in columns = from C to F we have 3 columns (C,D,E
difference in rows = 0
الفرق في االعمدة = , 3الفرق في الصفوف = 0
now we have to add 3 columns to each column in the formula
يجب اضافة 3اعمدة الى المعادلة االصلية
A1+B2
A--> D
B-->E
the formula will be D1+E2
? What is the result
D1 contain 3 , E2 contain 2
D1+E2
3+2=5
so the result will be 5
? Example 2: move the formula written in C1 to F5 what is the formula
C1-->F5
الفرق في االعمدة = ) , 3)C,D,Eالفرق في الصفوف = )4=(5-1
A3+B2
نقوم باضافة 3اعمدة الى رمز العمود في المعادلة
A--> Dبعد اضافة 3اعمدة
B-->Eبعد اضافة ثالث اعمدة
ونقوم باضافة 4صفوف الى رمز الصف في المعادلة فتصبح المعادلة :
D7+E6
والناتج هو 7= 2+5
alaa abu srhan 49
email: [email protected]
? Example 3: move the formula written in B4 to F5 what is the formula
B4-->F5
الفرق في االعمدة = ) , 4)B,C,D,Eالفرق في الصفوف = )1=(5-4
$A$1+$D2+B$2
نقوم باضافة 3اعمدة الى رمز العمود في المعادلة ,لكن اي رمز عمود يسبقه اشارة $يبقى كما هو
اي اننا نضيف فقط على Bاربع اعمدة فتصبح F
ونقوم باضافة صف الى رمز الصف في المعادلة ,لكن اي رمز صف يسبقه اشارة $يبقى كما هو فتصبح
المعادلة:
$A$1+$D3+F$2
والناتج هو 2=0+1+1
Errors of formula and function
• قد تحدث بعض األخطاء أثناء كتابة الصيغ الحسابية ،ويساعدك برنامج Excelعلى اكتشاف تلك األخطاء،
حيث يقوم بإظهار بعض الرموز الخاصة في الخاليا التي تحتوي على أخطاء تشعرك بوجود خطأ في
الصيغة ،يطلق عليها رسائل اإلعالم عن الخطأ ،والجدول اآلتي يوضح بعض رسائل اإلعالم عن الخطأ
وكيفية معالجتها:
الحل السبب الخطأ
زيادة عرض العمود يعرض Excelهذا الخطأ عندما اليكون عرض العمود كافيا ً لعرض كل ########
حتى يعرض جميع االرقام الموجودة في الخلية ،أوعندما تحتوي خلية على قيم تاريخ أوقيم
محتوياته. زمنية سالبة.
التأكد من مراجع الخاليا يعرض Excelهذا الخطأ عند وجود مرجع خلية غيرصحيح .على سبيل !#REF
المستخدمة في الصيغة. المثال ،من الممكن أن تكون قد حذفت خاليا ُمشار إليها في صيغ أخرى ،أو
قمت بلصق خاليا نقلتها فوق خاليا ُمشارإليها في صيغ أخرى.
التأكد من كتابة نص يتم عرض هذا الخطأ عندما ال يتعرفExcelعلى نص الصيغة .على سبيل ?#NAME
الصيغة بشكل صحيح. المثال ،قد تتم كتابة اسم نطاق أواسم دالة بشكل غيرصحيح .أو أن الصيغة
تحتوي نصا ً ال يستطيع البرنامج التعرف إليه
إجراء تغييرات بسيطة يمكن أن يعرض Excelهذا الخطأ إذا تضمنت الصيغة خاليا تحتوي على ?#VALUE
على الصيغة والتأكد من أنواع بيانات ال يمكن اجراء العملية عليها ,مثل أن تتضمن الصيغة قيم
البيانات المستخدمة في نصية في حالة الجمع اذ انه ال يمكن جمع النصوص.
الصيغة.
يعرض Excelهذا الخطأ عندما تتم قسمة رقم على صفر ( )0أوعلى خلية تغييرالقيمة المقسوم !#DIV/0
عليها إلى غيرالصفر التحتوي على أية قيمة.
(.)0
في حالة وجود ( CELLS RANGEمجموعة من الخاليا) ومن ضمنها اسماء او قيم منطقية واردنا ان نحسب
المجموع فأن النتيجة تكون ناتج جمع كل االرقام واستثناء االسماء والقيم المنطقية
القيم المنطقية هي TRUE , FALSE :
المعادلة هي =A1+A2+A3
Example
Answer: #value
A1:A4 تمثل الخالياdefine name عبارة عنTest
Example
Example
مالحظات :
القيم المنطقية ( )true,falseتعتبر قيمتها true=1و false =0بالنسبة للمعادلة اذا كانت ضمن خلية .1
او تم كتابتها ضمن المعادلة
ال يجوز جمع النصوص يعتبر خطأ valueكما هو الحال في المعادلة في الخلية B4 .2
وضع االرقام والتاريخ بين عالمات ترقيم يعتبر صحيح .3
ال يجوز وضع نصوص وقيم منطقية داخل عالمات التنصيص في المعادلة يعتبر خطأ value .4
يجب التأكد من كتابة التاريخ بصيغة صحيحة – كتابته بطريقة يعتبر خطأ value .5
الخلية الفارغة عند استخدامها بمعادلة تعتبر 0 .6
كتابة اي اسم خاطئ داخل المعادلة يعتبر خطأ nameاال اذا كان هاد االسم اسم معرف كما هو الحال .7
في المعادلة الموجودة في C2
في الخلية bb , C3عبارة عن اسم معرف يمثل الخلية A2
Examples of argument
1. number: =sum(2,3,4) 9
2. cell reference: =sum(A1,A3) 20+10 =30
3. range: =sum(A1:A6)
4. text representation of number: =sum("1","3")4
display formula or function not their result
: الظهار المعادلة دائما في الخلية بدال من النتيجة اتبع الخطوات التالية
formulasformula auditing show formulas
insert function الدراج اي صيغة رياضية
NOW: return the current day and time يرجع التاريخ والوقت
NOW function updated only when the worksheet is calculated, It is not
updated continuously
=NOW() this function take 0 argument
Formulas function library insert function date &timenow
example :
=now(A1) error
DAY: take a date or a reference for a cell contains date value and return the
day from this date, an integer ranging from 1 to 31
alaa abu srhan 56
email: [email protected]
=day(serial_number)" نضع اما خلية تحتوي على تاريج او تاريخ بين
Formulas function library insert function date &timeday
Example1:
يظهر الجواب2016
هذا يعني أنA1:A7 قام اكسل بتحديد الخالياsum (all باللون االزرق وعند كتابة الدالةall : مالحظة
A1:A7 تمثلdefined name هوall
A1:A7 all
Will return 12
Number of arguments =1
فانه يجمع فقط القيم الرقمية – ال يجمع القيم المنطقية والنصوصrange في حالة وضع
Example 2:
=sum() ال يجوز يجب ان تأخد على االقل معامل واحد
Example 3:
=Sum(A1:A7,true) will return 13 since true=1
2 عدد المعامالت
Example 4:
=summation(A1:A7) #name?
Example 5
=SUM(A1:A7;"3") 15, "3" will consider as 3
alaa abu srhan 58
email: [email protected]
في هذه الحالة يأخد ما بين " ويجمعه مع ناتج جمع محتوى الخاليا A1:A7
Example6:
يتم تجاهل القيم المنطقية في حالة وضع مرجع خلية تحتوي على قيم منطقية will return 0
=sumIf(A1:A10,"<10",B1:B10) 7
ويقوم بجمع الخاليا المقابلة لها فيA1:A10 في الخاليا10 يقوم بايجاد الخاليا التي تحتوي على قيم اقل من
B1:B10
example 1
result : 50
A1:A5 في الخاليا10 يعني انه سيقوم بجمع محتوى الخاليا التي قيمتها
30 : النتيجة
Round: this function takes two numbers as inputs and return the first number
rounded to the nearest number of digits according to the second input.
Formulas function library insert function math&triground
=round(number,num-digit)
Number: الرقم او مرجع الخلية المراد تدويره
Num-digit: عدد المنازل العشرية التي يجب أن تظهر بعد الفاصلة
If num_digit is 0, then number is rounded to the nearest integer
If num_digit is less than 0, then number is rounded to the left of the decimal
point
If num_digit is greater than 0, then number is rounded to the specified
number of decimal places
Example 1:
=round(A1,2)345
=round(A2,0)346اقرب عدد صحيح
Will return 2 (if the argument is range, only numbers are used while logical values,
text, and empty cells are ignored)
يأخد فقط االرقام ويعتبر النصوص والقيم المنطقية والخاليا الفارغة ليست موجودة
Example 3:
=max("false","true") #value!
alaa abu srhan 62
email: [email protected]
min: يرجع اقل قيمة
Formulas function library insert function statistical min
=min(number1,[number2],..) , number of arguments between 1 and 255
Example1 :
=min(true,false) 0
=min("true",0)#value!
Example 2
Will return 3
=min(A2,A3) 3 يتم تجاهل القيم المنطقية في حالة وضع مرجع خلية تحتوي على قيم منطقية
=min(A3=7,true)0 A3 =7 ?? no so false , false = 0 , true=1
=min(A1:A4,"0") 0
average: يرجع الوسط الحسابي مجموع االعداد على عددهمarithmetic mean
Formulas function library insert function statistical average
=average(number1,[number2],..) , number of arguments between 1 and 255
average : sum of numbers / count of this numbers
Example 1:
= average(A1:A3) 2 2=1/2 يأخد الخاليا التي تحتوي على ارقام فقط وهي خلية واحدة
=average(A1:A3,3) 2.5 .. (2+3)/2 =2.5
=avarage(A1,A3) #name? يجب التأكد من كتابة اسم الدالة بشكل صحيح
Example 2 :
=average(A1:A5)1.4 (2+2+0+2+1)/5=1.4
= Sum(A1:A5)/5 يمكن كتابته على شكل
=average(B1:B5)1.75 (2+2+2+1)/4=1.75
ال يقوم بحساب الخاليا الفارغة
alaa abu srhan 63
email: [email protected]
=average(A1:A3, ,5)(1+2+2+0+5)/5= 2
بدل المكان الفارغ0 عند ترك اي معامل فارغ يقوم اكسل بوضع
count: يعد الخاليا التي تحتوي ارقام وتواريخ
=count(value1,[value2],..) take arguments between 1 and 255
Formulas function library insert function statistical count
Example:
=count(A1:C6) 5
=count(A1:A3,C1:C6)5
Example :
=count(A1:A5) 2
=count (A1:A5,true) 3
=count (A1:A5,"true") 2
countA: يظهر عدد الخاليا التي تحتوي على نصوص وارقام وتواريخ وقيم منطقية وال يحسب الخاليا
الفارغة
=countA(value1,[value2],..) take arguments between 1 and 255
=countif(A1:A8,"Amman")2
capital or small ( ال فرق فيما كانت االحرفAmman=amman)
=COUNTIF(A1:A8;"<3")3
=COUNTIF(A1:A8;A2)2
=COUNTIF(A1:A8;"") 0 يرجع عدد الخاليا الفارغة
example:
=count(A1:B3) 6
currency هي ارقام ولكن بصيغةB1 نالحظ ان محتوى العمود
example:
answer: 7
نالحظ ان الخاليا الفارغة ال يعتبر قيمتها صفر
alaa abu srhan 65
email: [email protected]
Logical Functions
1. if :checks whether a condition is met, and returns values if True ,and another
value if false
2. and: checks whether all arguments are true, and returns true if all arguments are
true.
3. Or: checks whether any of the arguments are true, and returns TRUE or FALSE.
Returns false only if all arguments are FALSE.
4. Not: changes FALSE to TRUE, or TRUE to FALSE
5. True: returns the logical value TRUE
6. False: returns the logical value FALSE
If:
Formulas function library insert function logicalif
=if(logical test, value-if-true, value-if-false) take 3 arguments
logical test: الشرط
value-if-true: تظهر القيمة المخزنة فيها اذا كان الشرط صحيح
value-if-false: تظهر القيمة المخزنة فيها اذا كان الشرط خطأ
Example:
=IF(A6<30;"ok";"no") no
=IF("A6<30";"ok";"no") #value!
=IF(A2;"ok";"no")ok
فانfalse فان الشرط يعتبر صحيح اما اذا كنت صفر اوtrue اي رقم غير الصفر اوA2اذا كان في الخلية
الشرط يكون خاطئ
=IF(A1;"ok";"no")#value!
تحتوي على نصA1 الخلية
=IF(A5;"ok";"no") no
وبالتالي فان الشرط خطأfalse تحتوي علىA5 الخلية
=if(100;"yes";"no")yes
اي عدد غير الصفر يعتبر الشرط صحيح: تعني ان الشرط صحيح100
=IF(A2<>0;A5;"no")false
A5 الشرط صحيح لذلك النتيجة هي محتوى الخلية
=IF(A2<>0;A1;"no")alaa
A5 الشرط صحيح لذلك النتيجة هي محتوى الخلية
alaa abu srhan 66
email: [email protected]
=IF(A2=1;A3+1;"no") 1
=IF(A2=1;"A3+1";"no") A3+1
=IF(A2<>1;A1(false
لم يحدد ما هي القيمة التي يطبعها اذا كان الشرط خطأ لذلك يعتبرها false
Example 2:
answer :6
testهي اسم معرف مسبقا وهو يمثل الخاليا A1:A3بدليل اصبح لونها اخضر وقام اكسل بعمل حدود الخاليا
باللون االخضر ايضا
example 5:
?answer: #name
!=AND(A1) #value
يحتوي على نص لذلك فانه يتجاهله وبالتالي ال يوجد اي قيمة ليقوم بعمل ANDلها
=AND(a1,a2) TRUE
)=AND(A3)false (false=0
=AND(A1:A6)false
وجود قيمة واحدة صفراو falseيعني ان االجابة false
=AND(A1:A7)false
الخاليا الفارغة في ال rangeيعتبرها غير موجودة
=AND(A6:A7) true
الخلية فارغة !=AND(A7) #value
?=AND("ali";5;7) #value
?=AND(ali;5;7)#Name
alaa abu srhan 68
email: [email protected]
?=AND ("100") #value
ال يتعامل andمع االرقام انما يتعامل مع القيم المنطقية لذلك وضع الرقم بين عالمات تنصيص يعتبر خطأ
=AND ("true") true
يتعامل andمع القيم المنطقية لذلك فأن وضعه بين اقواس يعتبر صحيح
=AND(12/4/1995;4;10) true, because the date will be represented finally as a
number.
الن اخر شرط خاطئ =AND(7>5; (10+3)<15;A3<>0) false
Example 2:
Example 2:
NOT:
false اوtrue يرجع اما
Formulas function library insert function logicalNOT
=not(logical) take 1 argument (unary operator)
Example:
=not(A6) #value!
=not(A1)false
=not(A4) true
=not(100) false
=not(0) true
=not("100")#value!
مع االرقام انما يتعامل مع القيم المنطقية لذلك وضع الرقم بين عالمات تنصيص يعتبر خطأnot ال يتعامل
=not ("true") false
مع القيم المنطقية لذلك فأن وضعه بين اقواس يعتبر صحيحnot يتعامل
=not(A1=1)false (A1=1 true, not(true)=false)
=not(A1:A3)#value! (value or expression that can be evaluated to true or false)
range ال يجوز ان نضع
=not(max(A1:A3))false max(A1:A3)6,not(6)false
FALSE: return the logical value FALSE
Formulas function library insert function logicalfalse
=false() take zero arguments
=LOWER("test") test
=LOWER("Skills")skills
=LOWER("COmputer") computer
=LOWER(25)25
=LOWER("78")78
=LOWER(TRUE)true
=LOWER("TRUE")true
= LOWER ("FALSE")--> false
=LOWER(skill)--> #NAME
2. UPPER: converts all letters in a text string to uppercase.
To insert UPPER function: formulasFunction LibraryInsert Functionselect TEXT
category UPPER
=UPPER (text)
Example:
3. PROPER: converts text string to proper case; the first letter in each word in
uppercase, and all other letters to lowercase.
To insert PROPER function: formulasFunction LibraryInsert Functionselect TEXT
category PROPER
=proper (text)
Example:
=PROPER(A4)Computer Skill
=PROPER("a") A
=PROPER("ahmad") Ahmad
=PROPER("SKILL") Skill
=PROPER(skill)#NAME
=PROPER(12) 12
=PROPER("12") 12
=PROPER("first_one ") First_One
=PROPER("first+one ") First+One
6. EXACT: Checks whether two text strings are exactly the same, and returns TRUE or
FALSE. EXACT is case-sensitive.
To insert EXACT function : formulasFunction LibraryInsert Functionselect TEXT
categoryEXACT
=Exact(text1,text2)
=EXACT("COMPUTER", "computer")FALSE
=EXACT("A","a") FALSE
=EXACT(120,20 ) FALSE
=EXACT("123",123 ) TRUE
=EXACT(skill,"skill" ) #NAME
=EXACT( FALSE,"FALSE") TRUE
=EXACT(true,true ) TRUE
8. REPT: repeats text given number of times. use REPT to fill a cell with a number of
instances of a text string.
To insert REPT function: formulas>>Function LibraryInsert Functionselect TEXT
category REPT
= REPT (text1,number_times)
Example:
=REPT("hi",4 ) hihihihi
=REPT(120,3 )120120120
=REPT(TRUE,2 )TRUETRUE
=REPT(test,2 ) #NAME
=REPT("5",2 ) 55
=REPT("ok",-2) #value
1. count(A1:B5) --> 10
2. round(C1;-2) -->0
3. round(C2,-2) -->100
4. round(C3;0) -->34
5. round(C3;B1) -->33.5
6. if(12;1;2) -->1
7. if(0;c4;c5) -->no
8. if(C3<34;SUM(B1:B3);SUM(D1:D3)) -->6
9. max(test) -->30
test يمكن معرفة ذلك عن طريق ان كلمةD1:D5 تمثل الخالياdefined name هيtest الحظ ان
D1:D5 نالحظ وجود اطار ازرق حول الخالياtest لونها ازرق وكذلك عندما كتبنا
10. not(false) -->true
11.not(55) -->false
12.not(0) -->true
13.not(10<10) -->true
14.sum(true;1;false) -->2
15.if (0; ;"yes")-->yes
16.if ("1/1/2015">500;"yes";"no")-->yes الحظ ان التاريخ يحول اال رقم كبير وهو رقم اكبر من
500 ال
17.sum("true";1) -->#value!
18.not("true")-->false
بين " صحيحfalse وtrue فقط يعتبر وجودlogical function في حالة ال
هي عبارة عن مجموعة من الجداول المنفصلة والتي يتم الربط بينها وذلك لتسهيل الوصول الى المعلومات
والتقليل من التكرار في الجدول
table: contains several columns (fields, attributes: collection of same data
type) حقلand several rows (record, instance) سجل. used to store data about a
particular subject.
example:
interface element:
تعرض كائنات قاعدة البيانات (جدول ,تقرير,استعالم,نموذج) ويستخدم :جزء التنقل navigation pane
هذا الجزء لفتح ونقل وحذف الكائنات وهذا الجزء يظهر دائما اال اذا قمت باخفاءه
الظهاره او اخفاءه من F11على الكيبورد او << في اعلى اليمين منه
:انشاء جدول جديد create table
createtablestable
عند انشاء قاعدة البيانات يتم انشاء جدول بشكل تلقائي واسمه table1لذلك يصبح اسم الجدول الجديد
table2
when we create database new table will create automatically has table1 name
when we create new table the name of this table will be table2
يظهرالجدول الذي تم انشاءه في جزء التنقل you can see the table in navigation pane
نالحظ عند انشاء الجدول ظهور تبويب table toolsوالذي يحتوي على تبويبين وهما fieldو table
the table tools will appear contains field, table tab
auto number ويكون نوعهID عند انشاء الجدول يضيف اكسيس حقل بشكل افتراضي اسمه
. الجدول المفتوح حاليا هو الجدول الذي يكون التبويب له لونه برتقالي
if you want to display the objects in separated windows click Overlapping Documents
saveing a table
filesavesave as dialog box will appear type the name and press ok
press to switch to design view press to switch to datasheet view
ال بد من حفظ الجدول قبل االنتقال الى وضع التصميم لذلك يظهر
صندوق حوار يسالك اذا كنت تريد حفظ الجدول
When you open a saved table database view
design view
to rename the field name double click on the field header and type the new
name
or
Right click on the field header choose rename type new name
العادة تسمية الحقل قم بالنقر فوق العمود بزر الماوس االيمن فتظهر قائمة فرعية ثم قم بادخال االسم الجديد
open and close table :
open: from navigation pane double click on the table
close : press the table name click X on the right corner
delete and rename table :
alaa abu srhan 86
email: [email protected]
deleting or renaming a table is impossible while it is open ال يمكن اغالق او تعديل اسم
الجدول وهو مفتوح
save and close the table right click on the table name from navigation
panerename rename, delete.
االستعالم ) للفتح واالغالق والحذف, النموذج, تطبق نفس الخطوات على الكائنات (التقرير:مالحظة
.والتسمية
.4قم بادخال اسم مناسب للقائمة ويكون االسم "اسم الحقل" بالوضع االفتراضي له ثم finish
مثال :جدول empيحتوي على خمس حقول بانواع مختلفة للبيانات في وضع design view
to adjust a column to fit into its contentsdouble click the right corner on the
column header
moving column نقل العمود:
select the column click and drag the column to the new location.
يحدد مكان الذي وصل اليه المؤشر وكذلك يتغير شكل المؤشرsolid bar عند النقل يظهر خط غامق
. الى سهم وتحته مربع متقطع
نالحظ انه يصبح لون الخلفية له برتقالي دليل ان الحقل المحدد هو حقل مفتاح اساسي
You can define a primary key on fields with any data type but not memo مهما كان
نوع الحقل
You cannot define a primary key on fields with memo data type
alaa abu srhan 92
email: [email protected]
يجب المحافظة على شروط المفتاح الرئيسي وهو عدم التكرار
Duplicated
This error message will appears when duplicate values are entered for primary key
field
يظهر هذا المسج في حالة تكرار البيانات في حقل المفتاح الرئيسي
اذا ادخلنا قيمة اقل من 50في حقل IDيظهر رسالة خطأ must be more than 50
example 2:
in address field we put the following
اذا ادخلنا قيمة غير ammanو zarqaيظهر رسالة خطأ must be in either amman or zarqa
يمكن كتابة AMMANصحيحة ( ال يوجد مشكلة
احرف كبيرة او صغيرة )
example 3:
in date field we put the following
* تعني انه يمكن وضع ما نريد من الرموز والحروف بعد حرف ال mوهذا يعني ان االسم يجيب ان يبدأ
بحرف ال mمهما كانت عدد الحروف التي تتبعه وما هي
.2أن يكون الحرف الثاني m
or
اذا كان العمود نوعه textفانه يمكن اجراء تصفيه نص text filter
إلرجاع البيانات المصفاة نضع اشارة الصح على select
allفتظهر كل البيانات فتختي عالمة الفلترة
يمكن تطبيق اكثر من شرط على اكثر من حقل مثال نريد ان يظهر ammanفقط في حقل addressو
الراتب اكثر من او يساوي 300
نقوم بتطبيق التصفية على الحقل addressونختار ammanمن القائمة
ثم نقوم بتطبيق التصفية على الحقل salaryونختار number filterونختار greater than
يظهر صندوق الحوار custom filterنكتب 300
to clear sort:
home sort and filter remove sort
relationships العالقات
One of the goals of good database design is to remove data redundancy
(duplicate data).
To achieve that goal, you divide your data into many subject-based tables so that
each fact is represented only once. You then provide Access with the means by
which to bring the divided information back together by using relationship.
حتى نضمن ان قاعدة البيانات قاعدة بيانات جيدة يجب االهتمام ان ال يكون هناك تكرار للبيانات لتحقيق هذا
الهدف نقوم بتقسيم قاعدة البيانات الى عدة جداول كل جدول له موضوع معين ومن ثم نقوم بتجميع الجداول
.مع بعضها عن طريق ربطها بعالقات
we can avoid problems with inconsistent data in related tables by using
relationships
3 types of relationships: مطلوب فقط النوع االول الباقي فقط معرفة التعريف
1. one to many : used when a record in the first table can have many records in the
second one, but not vice versa
if only one of the related field is a primary key or has unique index
كل سجل بالجدول االول يقابله اكثر من سجل في الجدول الثاني وال بد من وجود حقل واحد من الحقول
المرتبطة كمفتاح اساسي
)1( (الموظف يشتغل في قسم واحد فقطmany( القسم يوجد فيه اكثر من موظف: مثال
2. one to one :if both of related field are primary keys
كل سجل في الجدول االول يقابله سجل في الجدول الثاني
)1() الرسالة الجامعية يكتبها طالب واحد فقط1( يطلب من طالب الماجستيركتابة رسالة جامعية واحدة: مثال
3. many to many: used when a record in the first table can have many records in the
second and vice versa
كل سجل في الجدول االول يقابله اكثر من سجل في الجدول الثاني وكذلك كل سجل في الجدول الثاني يقابله
اكثر من سجل في الجدول االول
In many to many relationship a junction table must be created with one to many links
to the two original tables. It must contain two fields (the primary keys from both
table)
alaa abu srhan 101
email: [email protected]
مثال :الطالب يسجل اكثر من مادة والمادة فيها اكثر من طالب
.2وجود حقل مشترك بين الجدولين( الحقل المشترك يكون موجود في الجدولين ) بحيث يكون primary
keyفي الجدول االساسي و ويسمى ( foreign keyمفتاح اجنبي) في الجدول المرتبط
to create a relationship between two tables at least one of the related fields must
be primary key. Before you create a relationship between tables you should create
a field in the related table to match the primary key data type and properties in the
primary table
.3ان يكون نوع البيانات للحقلين المرتبطين نفس النوع وال يشترط ان يكون نفس االسم
the related fields shouldn't have the same name but must have the same data type
and properties
.4اذا لم يكن هناك حقل مشترك بين الجدولين نقوم باضافة حقل اضافي بالجدول المرتبط
.5النشاء العالقة بين الجدولين ال بد من اغالق الجداول
example :
يوجد جدولين الجدول االول جدول الموظفين والثاني we have two tables: employee and dept
جدول القسم
نالحظ ان الحقل المشترك هو deptidوهو مفتاح اساسي في جدول deptوبالتالي فان الجدول Deptهو
الجدول االساسي ونالحظ ان الحقل في الجدوليين له نفس النوع.
العالقة بين الجدولين هي one to many
to create relationship :
drag the primary key field from primary table to the related field in the other field in
related table edit relationships dialog box will appear press create
في كال الجدولينdeptid بعد االنتهاء من انشاء العالقة ال يمكن عمل اي تعديل على حقل
when you open the primary table the + sign will appear next to each record , by
click on it you can display the information from related table
الى جانب كل سجل وعند النقر عليها تظهر البيانات في الجدول المرتبط+ تظهر اشارة
في جدول الموظفين اال اذا كانت نفس القيمة موجودة فيdeptid مالحظة ال يمكن وضع اي قيمة في ال
dept في جدول القسمdeptid حقل
Example 1
"Contracts" table
i. form view: you can view, add data to records, create new record, delete
record, edit records, and sort & filter data
يمكن من خاللها مشاهدة البيانات وتحريرها واضافة سجل جديد ويمكن عمل فلترة وفرز
للمحتوى
ii. layout view :you can see the data and make changes to the design of form
:changes the size of control االدوات,add or delete controls and changing its
appearance.
تغيير,form يمكن مشاهدة البيانات اثناء اجراء التعديالت فيمكن من خاللها تعديل اسم ال
logo خصائص النموذج مثل اللون والحجم والمحاذاة وال
اذا كنا في هذا العرضform layout view نالحظ انه تظهر
iii. design view : contain additional tasks that is not exist in layout view, you
can't see data when you are in design view, you can add controls such as
labels images, lines and rectangles, you can change size of your form
header.
ال يمكنك مشاهدة,layout design يحتوي هذا العرض على خصائص اضافية غير متوافرة في
يمكنك اضافة مجموعة عناصر الى النموذج مثل الصور والخطور, البيانات في هذا العرض
.والتمسيات والمستطالت باالضافة انه يمكنك تغيير حجم رأس النموذج
form design view tab نالحظ ظهور
close form :
click the required form tab click on the X in right corner
open form :
form navigation pane double click on it
auto formatting a form :
layout view from layout tools design themes click on the theme you want
Example:
sort data
you can sort data ascending or descending while you on the Query Datasheet
نقوم بوضع الشرط عند criteriaتحت العمود الذي نريد ان نطبق عليه الشرط نقوم بوضع اشارة صح في
المربع الموجود عند showللحقول التي نريد ان تظهر باالستعالم ثم نضغط run
deptid الهدف من اضافة, فقطempname ونعمل اظهار للحقلdeptid والempname نضيف حقلين
هو اننا نريد كتابة الشرط في هذا الحقل
5. display the employees name and their salary that take more than 300 as salary
300 اظهار الموظفين اللذين يأخدون راتب اكثر من
6. display the employees name and their salary that take salary between 300 and 600
600 و300 اظهار اسماء الموظفين ورواتبهم بحيث يكون الراتب بين
7. display the employees name and their salary start with 3 and end with 0 (third
number)
0 والرقم الثالث3 اظهار اسم وراتب الموظفين اللذين يبدأ الراتب لهم بالرقم
9. display all employee who started working after 2015 اظهار الموظفين اللذين يكون تاريخ
2015 التعيين بعد ال
in hdate we write: >31/12/2015 or >=1/1/2016
10. if we have married field has yes/no datatype and we want to display the
employees who are married
11. display employees name that their name start with r and all employees that their
salary grater or equal 400
400 وكل الموظفين اللذين رواتبه اعلى او يساويr اظهار اسماء الموظفين اللذين تبدأ اسماءهم بحرف ال
12. display employees name that their name start with r and their salary grater or
equal 400
400 و رواتبهم اعلى او يساويr اظهار اسماء الموظفين اللذين تبدأ اسماءهم بحرف
dept:
result :
performing calculation:
(sum, average, maximum, minimum, deviation)
layout view double click on the report title type new title enter
crossshair لتغير مكان العنوان وجه المؤشر الى العنوان حتى يتغير السهم الى سهم رباعي الرؤوس
واسحب الى المكان الذي تريده
يمكن تعديل اسماء الحقول بنفس الطريقة ولكن باختيار الحقل المراد تغيره بدال من العنوان: مالحظة
click browse to specify the destination file name , file format to select the
version
لتحديد االصدار للملفfile format لتحديد اسم ومكان حفظ الملفbrowse انقر زر
-exporting to text file التصدير الى ملف نصي:
alaa abu srhan 125
email: [email protected]
select table or query you want to export external data export text file
export -text file dialog box will appear
يجب النتباه الى شكل االيقون الخاص بكل كائن في قاعدة البيانات