DSA-LAB-MODULE-AND-ACTIVITY-WEEK-5-6
DSA-LAB-MODULE-AND-ACTIVITY-WEEK-5-6
Module in DSA-VETMED-Laboratory
Edit mode. Edit the contents of the current cell. Double‐click on a
cell with data in it, or click inside the formula bar for this mode.
Point mode. Used when linking to cell addresses within a formula or
from an Excel dialog window.
B. FORMATTING CELLS
The most formatting options are found on the Home Tab. All the options can
be found in the Format Cells window. This contains several tabs to help us format the
contents of our spreadsheet. This window can be opened by using the More Options
button at the end of the Format, Alignment and Number groups. You can also use
the Keyboard Shortcut – Ctrl‐1 or choose Format Cells… from the right‐click shortcut
menu.
a. Font
1. Font – Sets the font of the selected cell(s). Fonts are
different ways to show the same letters.
2. Font Size – Sets the size of the letters (the font). Larger
numbers give larger fonts.
3. Increase Font – Increases the font size
4. Decrease Font – Decreases the font size
5. Bold – Makes the selected cell(s) Bold
6. Italic – Makes the selected cell(s) Italicized
7. Underline – Makes the selected cell(s) Underlined. The drop down has a double underline.
8. Borders – Adds and removes borders for the selected cell(s). The drop down has More
Borders…
9. Fill Color – Changes the background color of the selected cell(s).
10. Font Color – Changes the color of the font of the selected cell(s).
11. More Options – This button will open the Format Cells dialog window.
b. Alignment
Module in DSA-VETMED-Laboratory
11. Merge and Center – Joins selected (adjacent) cells into one cell and centers the result. If
there is data in more than one cell, Excel will only keep the information from the upper left cell.
12. More Options – This button will open the Format Cells dialog window to the Alignment Tab.
c. Number
1. Number Format – Allows you to change the way
numeric values are displayed on the spreadsheet. The
drop down arrow gives you a list of the most common
formats, including a More Number Formats option.
3.Percent Style – Sets the selected cell(s) to the Percent Style, this style has zero decimal
places. Keyboard shortcut ‐ Ctrl‐Shift‐%. This button can be reset through Cell Styles on
the Home Tab.
3.Comma Style – Sets the selected cell(s) to the Comma Style, this style has a comma for
every thousand and two decimal places. This button can be reset through
5. Increase Decimal – Increases the number of decimal places showing to the right of the
decimal.
6. Decrease Decimal – Decreases the number of decimal places showing to the right of
the decimal.
7. More Options – This button will open the Format Cells dialog window to the Number
Tab.
d. Cells Structures
There are a set number of cells within a Microsoft Excel worksheet. In the Ribbon versions (2007
and later) there are 16,384 columns and 1,048,576 rows. As you insert and delete structures, you
are not reducing the number of cells, merely shifting where your data lies on the defined
worksheet.
d.1 Inserting
We use Insert to make new cells, columns, and rows. Excel determines what you are trying to
insert based on your selection. If a full column is selected, Excel will assume you mean a full
column and it will skip the Insert window.
Module in DSA-VETMED-Laboratory
***The size and format of the new space is determined by the previous row or column.
This will push the existing cells, columns, or rows to the right or down to make room for the new
cells.
d.2 Deleting
**To delete multiple at once, select the number of cells/rows/columns you would like to delete
and follow the steps above. This will completely remove the structure, formatting and all, and
the rows/columns/cells will shift into this place.
If you only intended to delete the contents not the cells, undo and use the Clear Contents option
instead.
Adjusting with the Mouse: When we resize we are growing away from the left.
To resize the column, place your mouse cursor between the lines of the column headings.
The current column heading is in a box; all you need to do is resize the box to make it
wider. Put your mouse along the right side of the heading box until you see the resizing
Module in DSA-VETMED-Laboratory
arrow pointing in two directions. Click and drag away from the column letter. When you
let go of the mouse, the column will resize.
To resize the row, place your mouse cursor between the lines of the row headings. The
current row heading is in a box; all you need to do is resize the box to make it wider. Put
your mouse along the bottom side of the heading box until you see the resizing arrow
pointing in two directions. Click and drag away from the row number. When you let go of
the mouse, the row will resize.
Auto‐fitting
You can use the option found on the Format menu, or place your mouse cursor between
the headings, with the two‐way arrow to help resize, and double‐click. The row or column should
AutoFit to the largest data length within its structure.
e. Fill Handle
The Fill Handle is in the bottom right corner of the selected cell.
When you place your mouse over this handle, it changes from a thick
white cross, to a thin black cross. Once you see the thin cross (no arrows) you can click and drag
the cell to fill its contents in a single direction (up, down, left or right). If you want to go in two
directions, you must first complete one way, let go of the mouse and then drag the handle in
the second direction.
1. When you use the Fill Handle to pull down a single number or plain text, it will
copy the data. When you use the Fill Handle to pull down a text with numbers, a date, a month
or a weekday it will fill in a series.
2. When you select two or more numbers (including dates) and then use the Fill Handle,
Excel will fill in the series, following the original pattern of the selected cells. It can only
follow simple addition and subtraction patterns.
Module in DSA-VETMED-Laboratory
LABORATORY EXERCISE 1. DATA ENTRY AND FORMATTING
Instructions:
1. Open Microsoft Excel.
2. Copy and format the data as shown below.
3. Save as DSA-LABACT1-[yourfullname]-[yourCourseYear-Section]
4. Send file to my gmail: [email protected]
Module in DSA-VETMED-Laboratory
PART 2 : FORMULA AND FUNCTIONS
A. FORMULA
In Microsoft Excel, you can enter numbers and mathematical formulas into cells.
Whether you enter a number or a formula, you can reference the cell when you
perform mathematical calculations such as addition, subtraction, multiplication,
or division. When entering a mathematical formula, precede the formula with an
equal (=) sign.
1. Click the cell pointer on the desired cell and type the formula commencing with =
2. Press ENTER, an arrow key or TAB key to confirm the data entry and to move the cell
pointer to another cell (to get the cell address of the value you want to use for
computation).
In any cases specifically if there is/are formulas that needs to be computed first
use parentheses ( ). In Excel formulas, any formula enclosed with parenthesis means first
priority.
1. Type: Add, Subtract, Multiply, and Divide in cells A1, B1, C1,
and D1 respectively
2. Type: 12, 25, 11 and 75 in cells A2, B2, C2 and D2 respectively
3. Type: 8, 13, 6 and 5 in cells A3, B3, C3 and D3 respectively
4. Type: = A2 + A3 in cell A5 and press Enter
5. Type: = B2 + B3 in cell A5 and press Enter
6. Type: = C2 + C3 in cell A5 and press Enter
Module in DSA-VETMED-Laboratory
7. Type: = D2 + D3 in cell A5 and press Enter
B. FUNCTIONS
By using functions, you can quickly and easily make many useful calculations, such
as finding an average, the highest number, the lowest number, and a count of the
number of items in a list. Microsoft Excel has many functions that you can use.
Functions are prewritten formulas. Functions differ from regular formulas in that
you supply the value but not the operators, such as +, -, *, or /.
For example, you can use the SUM function to add. When using a function,
remember the following:
Module in DSA-VETMED-Laboratory
1. Use an equal sign to begin a formula.
2. Specify the function name.
3. Enclose arguments within parentheses. Arguments are values on which you want
to perform the calculation. For example, arguments specify the numbers or cells you
want to add.
4. Use a comma to separate arguments.
Example: =SUM(A1:10)
Sum is the function name , A1:A10 is the range of cells, this means that microsoft
excell will add the values stored in cells A1 to A10.
The AutoSum
The AutoSum has also options when dropdown button was selected.
Module in DSA-VETMED-Laboratory
PRACTICE 3
Module in DSA-VETMED-Laboratory
LABORATORY EXERCISE 2. FORMULA
Instructions:
1. Copy the data and format the text and numbers as shown on the worksheet below.
2. Create a formula to compute for the following
Total Number of Hamsters
Average MPH value
Average RPM Value
Total Runtime (Seconds)
Grand Total Inches
Grand Total Revolution
Highest Total Runtime(Seconds) Value
Highest Activity Count Value
Module in DSA-VETMED-Laboratory