CPF Lab 003 PDF
CPF Lab 003 PDF
CPF Lab 003 PDF
SSUET/QR/114
LAB # 3
CREATING SPREADSHEETS USING MS-EXCEL
OBJECT
To understand and to familiarize with MS-Excel. To create and edit professional documents using functions and charts.
THEORY
Excel can be used for organizing, calculating and analyzing data. A user may work on one or more worksheets in a workbook. A user can save time by using formulas to calculate values automatically. A user can also make its worksheet attractive by formatting it. A user may add charts, and may save and print workbook. Workbooks are collection of worksheets in the same file on disk. Sheets may contain different types of information. Usually the sheets in a workbook contain related information, such as budgets. A standard worksheet contains 256 columns and 16,384 rows. The intersection of a row and column forms a cell in which a user can enter text or values.
SSUET/QR/114
Saving Workbook
To save the changes, click File Save.
Closing Workbook
For closing the current workbook click File Close
Activating Worksheets
To activate a worksheet, click on the worksheet tab at the bottom of the workbook.
SSUET/QR/114
Select the cell by clicking on it. Type numbers, text, or a combination of both. Press Enter
Inserting Cells
To insert cells, select the cells where you want to perform the insertion. This can be a cell or a range of cells, entire rows or entire columns using following method: Right-click on the selection to display the short cut menu, and choose insert. From insert menu do one of the following Choose the rows command to insert entire rows. Choose the Columns command to insert entire columns. Choose the cells command to insert a range of cells. The insert dialog box is displayed, asking how the insertion should occur.
Deleting Cells
To delete a cell or cells, follow these steps: Select the cells that you want to delete. Click Edit Delete
Finding a Value
To find a value on an active worksheet, follow these steps: Choose Edit Find. The Find dialogue box appears. Type the characters you want to find in the Find What box. Click on Find Next to find the next cell containing the search value.
Replacing a Value
The replace option works like Find, but allows you to replace the found value with another value. Try the following exercise:
CE-101 : Computing and Programming Fundamentals 22
SSUET/QR/114
Enter the following data into a blank worksheet: Nasir Karim Karim Jamal Fazal Ahmed Kashif Ahmed Click Edit Replace. The replace dialogue box appears Type Karim in the Find What box. Type Rahim in Replace With. Click on Replace All to replace all instances of Karim with Rahim.
Formatting Columns
A user can improve the appearance of worksheet by adjusting column widths using following method: Select cells in the column that you want to change. Click the Format Column option Type in the width and then choose OK.
Formatting Rows
A user may change row height to create more space for titles using following method. Select a cell in each row you want to change. Click Format Row Height option. Enter the height in the Row Height box. Click OK.
23
SSUET/QR/114
24
SSUET/QR/114
25
SSUET/QR/114
THEORY
A spreadsheet is only as good as the operations a user can perform on it. Excel offers its users a wealth of options for charting and calculating the data in worksheets. Formulas provide the real power when doing analysis and modeling, creating functioning spreadsheet systems, in Excel. A user can perform a wide variety of numeric calculations, including addition, subtraction, multiplication and division. A user can also manipulate text and lookup values in tables.
Entering Formula
To enter a formula into a cell, simply select the cell in which you want the formula. The first character must be an equal sign. Select the desired cell on a blank worksheet. Enter =<formula> then press Enter. The returning value will appear in the cell.
Editing Formula
A formula can be edited either in the formula bar or in the cell.
Entering Functions
To enter function within a formula or as a formula, use following method: Select the cell where you want to enter the function. Click Insert Function to display the function wizard dialogue box.
26
SSUET/QR/114
Editing Functions
To edit an existing function, use the following method: Select the cell containing the text. Click Insert Function. After editing the function, click OK.
Part II : Charts
When working with charts, it is important to understand the difference between a data series and data points. These concepts are crucial both for understanding how the data is being represented in the chart and for creating the chart that will display properly. A data point is an individual value that originated in a single worksheet cell. When data points are plotted onto a chart, they are represented by columns, bars, dots, slices or other shapes called markers. A data series is a group of related data point that represents a single row or column of data. Each series is distinguished on a chart by a unique color or pattern.
Creating a Chart
To create a chart use the following method: Select the data you want to chart. Click Insert Chart or click the Chart Wizard.
Formatting a Chart
A user can apply different number formats, fonts, patterns and colors to the various chart elements. The chart element must be selected in order to format it. Double-click the chart element you want to format to display the format dialogue box (or right-click on the element, and choose the format command from the short cut menu). The name of the selected element is displayed in the Name box on the left part of the formula bar. Select the formatting option you want and then click OK.
Deleting a Chart
To delete a chart element, select the element and press Delete (or choose Clear from the shortcut menu).
CE-101 : Computing and Programming Fundamentals 27
SSUET/QR/114
ASSIGNMENT
Create and edit a workbook containing history (e.g. debut, country, last match) and carrier records (e.g. total runs, total wickets, batting average, runs per over, best performance) of famous cricket players.
28
SSUET/QR/114
29