Beruflich Dokumente
Kultur Dokumente
MS Excel
XP
MS Excel
XP
Presented by: M. Naveed Anwar Lecturer Department of Computer Science Email: mnaveedanwar@hotmail.com mna2606@yahoo.com
MS Excel 3
XP
XP
Objectives
What is MS Excel (Spreadsheet)?
Why MS Excel is used? Interface of MS Excel Some Basics of MS Excel
MS Excel 5
MS Excel
MS Excel
XP
Total No. of No. of Adults (Adults + Children Children) 365 800 398 715 500 1012 600 1010 600 975 964 996 500 953
Time Difference
start time 10:40:00 AM End time 5:30:00 PM difference 6:50:00
XP
hours difference 3/20/05 10:40 AM 3/25/05 9:40 AM 119 minutes difference 7200 Seconds Difference 432000
Day Difference 12
9
XP
Graph(s) / Chart(s)
Pakistan VS Australia
1st Match Pakistan Australia 234 235 2nd Match 301 256 3rd Match 298 289 4th Match 156 158
XP
5th Match 213 214
350 300 250 200 150 100 50 0 1st 2nd 3rd 4th 5th Match Match Match Match Match
MS Excel
Pakistan Australia
11
XP
MS Excel
12
MS Excel
are great for discrete data categories with one another or showing showing a trend over several time increments parts of a whole that are generally expressed in percentages . They work Line charts are also work well for displaying best trends data for a over time. Theyre better than bar small charts if there are a large number of data points number of or if more than one congruent trends are being categories compared MS Excel 14
20.0% 60.0% 0.0% 40.0% 20.0% 0.0%
Problems
XP
Have to perform all calculations / logic manually Will have to remember the formula / logic to apply it again and again Will have to draw graph(s) / chart(s) manually Comparing values from a table manually Sorting data values by a particular field Time Consuming Repetitive task (Tedious + Chances of Errors - Inaccurate)
MS Excel 15
Spreadsheets
Electronic replacement for ledgers
XP
Used for automating engineering, scientific, but in majority of cases, business calculations
A spreadsheet VisiCalc (in 1979) - was the first popular application on PCs.
It helped in popularizing PCs by making the task of financial-forecasting much simpler, allowing individuals to do forecasts which previously were performed by a whole team of financial wizard
MS Excel 16
XP
Can perform calculations repeatedly, accurately, rapidly Can handle a large number of parameters, variables Make it easy to analyze what-if scenarios for determining changes in forecasts w.r.t. change in parameters A Database management tools to organize information and create reports.
MS Excel 17
XP
Are easy to interface with other productivity SW packages Easy to store, recall, modify Make it is easy to produce graphs: Used to display data in a variety of graphical formats (e.g.; 3-D effects) Integration with other programs (a worksheet can be inserted into a report created on word processor, or a graphic into a worksheet) and many others
MS Excel 18
Structure of A Spreadsheet
Collection of cells arranged in rows and columns Each cell can contain one of the following: Numbers Text Formulas These cells display either the number or text that was entered in them or the value that is found by executing the formula Note: Over time, the term spreadsheet has come to refer specifically to the software (like MS-Excel), while worksheet refers to the files that are created with spreadsheet software.
MS Excel 19
XP
of MS Excel
Menu Bar
Cell Pointer
Sheet Tabs
Status Bar
MS Excel
Document Window
20
Excel Worksheet
XP
Last column is IV (Total 256 columns) Last row no. is 66536 Inserting a worksheet Click Worksheet on the Insert menu OR Right-click a sheet tab, and then click Insert To group sheets so that what is written in one sheet replicates on the other sheet in the group Control + select click any sheet in group. To undo right click sheet tab + ungroup
MS Excel
22
XP
To move to sheets extreme left/right & extreme up/down: Control + arrow up/down Moving to next sheet: Control + page down Moving to previous sheet: Control + page up Selecting a column: Control + spacebar OR Click Column name Selecting a row: Control + shift OR Click row number Select all rows and columns: Control + shift + spacebar View Date: Control + semicolon(;) View Time: Control + shift + semicolon(;) Format Border: Control + shift + & (ampersand) To find cells on same or any other sheet: Control + F Merge cells: Right click Format Cells + Alignment + merge cells OR Format + Cells + Alignment
MS Excel 23
XP
To move in selected cells only: Shift + enter To copy one cells data into all selected cells: Control + enter Copy value form one cell to another: select and drag Excel can automatically detect patterns e.g. if we enter 12, 14 in two cells it will automatically generate 16, 18, 20.n. To add customized patterns: Toolsoptionscustom fill To modify the contents of a cell: Use key F2 OR Double click the cell
MS Excel
24
XP
=A1 + 4
MS Excel
25
XP
Formulas in Excel
Operators: +, -, *, / e.g.; 2+5+H6 Can specify values as well as reference/addresses of cells in formula To access a value from one cell to other: sheet number ! $ cell address To add cells in different sheets: $ B $1 + sheet 2 ! $ A $1 Limit/range of data in cell addresses to access multiple values in functions/formulas: $ C $ 5: $ C $ 9, $ G $ 5 Functions: They perform specific set of operations and give specific value. Syntax: function name(---, ---, ---) Parameters (generic form) func addnum (int,float) Arguments (values) func addnum (5,7.4) To use a function: Insert function OR use in Standard toolbar Also Use nested functions: e.g.; 2+5+H6+MAX((B4-B13),MIN(B14-B16))
MS Excel 27
XP
Formulas in Excel(2) IF Formula Fixed condition: For a given condition we can type a message: if(5=5,"Hello","Hi") If (logical_ test, True, False) The left hand value of = is compared with the right hand side value Variable condition: if(A1="Hello", "Hello", "hi") if(A1>=100,"Hello","hi") here A1 is cell address
MS Excel
XP
28
XP
MS Excel
29
XP
Use function name: if(A1>100,sum(B2:B5)) if(A1="Hello", if(B1<=100,C1,D1),E1) Simplified form: if (A1="Hello") if (B1<=100) C1 else D1 else E1 Logical Functions: OR AND NOT e.g.; if(OR(A1>=1000,B1<=500),"Bonus is given, No Bonus")
MS Excel 30
Function Names
IF, MID, NOW, NOT, OR, PI, POWER, RAMD,
XP
REPLACE, RIGHT, ROUND, SUBTOTAL, SUM, SUMIF, VLOOKUP, HLOOKUP, TEXT, TRUNC, TODAY, TRUE, UPPER, LOWER, CEIL, FLOOR, AVERAGE, IS, BLANK, ISNOWTEXT, DATE, INT, LEFT, LEN, LOG10, MAX, MIN, COUNT, COUNTA, COUNTBLAK, COUNTIF, AND,
XP
Questions/Answers
MS Excel
32
XP
Summary
MS Excel
33
XP
34