Lab-5
Lab-5
Lab-5
05
Introduction to MS Excel
Items Description
Course Title ICT
Lab Title basic Excel formulas
Duration 3 Hours
Operating System /Tool/Language Microsoft Office/MS Excel
Objective Learn and practice basic Excel formulas
Learn and practice basic Excel formulas to manipulate data and perform calculations.
Tools Required:
Instructions:
=SUM(B2:D2)
3. Press Enter.
4. Drag the formula down to calculate for all rows.
=AVERAGE(B2:D2)
3. Press Enter.
4. Drag the formula down to calculate for all rows.
2.3 IF Formula:
4. Press Enter.
5. Drag the formula down to calculate for all rows.
=MAX(B2:B5)
=MIN(C2:C5)
=COUNT(A2:A5)
Here’s how you can integrate the CONCAT formula into a practical lab example, similar to the
style above.
Combine first and last names into a single "Full Name" column.
Combine the First Name and Last Name into the Full Name column.
oThis formula combines the First Name in A2 and the Last Name in B2, separated
by a space (" ").
3. Press Enter.
4. Drag the formula down to apply it to all rows.
Expected Result:
After applying the formula, the "Full Name" column should display:
Add a new column called Email and generate email addresses for each student based on
their Full Name.
Example formula:
Understand and apply the NOW and TODAY formulas to display the current date and time
dynamically.
Description Value
Current Date
Current
DateTime
=TODAY()
3. Press Enter.
o This will display the current date (e.g., 2024-11-18).
=NOW()
3. Press Enter.
o This will display the current date and time (e.g., 2024-11-18 10:30 AM).
Expected Result:
Description Value
Current Date 2024-11-18
Current 2024-11-18 10:30 AM
DateTime
Objective:
Learn how to use Auto Fill in Excel to quickly populate cells with patterns, sequences, or
repeated data.
7.1 Add the Following Data to Your Worksheet:
1. Number Column:
o Select the cells A2
oDrag the fill handle (small square at the bottom-right corner of the selection)
down to extend the series (e.g., 1, 2, 3, 4, ...).
2. Sequence Column:
o In D2, type 1.
o In D3, type 3.
o Select both cells and drag the fill handle downward.
o Excel will create a pattern (e.g., 1, 3, 5, 7, ...).
1. Weekdays:
o In B2, type Monday.
o Drag the fill handle downward to auto-fill the remaining days of the week.
2. Months:
o In C2, type January.
o Drag the fill handle downward to auto-fill the remaining months of the year.
Expected Results:
After applying Auto Fill, the table should look like this:
Number Weekdays Months Sequence
1 Monday January 1
2 Tuesday Februar 3
y
3 Wednesday March 5
4 Thursday April 7
5 Friday May 9
Understand and apply different data formats in Excel to visualize and process data correctly.
1. General Format:
o Select the cell under Formatted Output for "General".
o Ensure the cell is in the default General format.
2. Number Format:
o Select the cell under Formatted Output for "Number".
o Go to Home → Number group → Select Number.
o Set 2 decimal places.
3. Currency Format:
o Select the cell under Formatted Output for "Currency".
o Go to Home → Number group → Select Currency.
o Choose $ as the currency symbol.
4. Accounting Format:
o Select the cell under Formatted Output for "Accounting".
o Go to Home → Number group → Select Accounting.
5. Date Format:
o Select the cell under Formatted Output for "Date".
o Go to Home → Number group → Select Short Date.
6. Time Format:
o Select the cell under Formatted Output for "Time".
o Go to Home → Number group → Select Time.
7. Percentage Format:
o Select the cell under Formatted Output for "Percentage".
o Go to Home → Number group → Select Percentage.
8. Fraction Format:
o Select the cell under Formatted Output for "Fraction".
o Go to Home → Number group → Select Fraction.
9. Scientific Format:
o Select the cell under Formatted Output for "Scientific".
o Go to Home → Number group → Select Scientific.
10. Text Format:
o Select the cell under Formatted Output for "Text".
o Go to Home → Number group → Select Text.
Expected Results:
After applying the formats, the table should look like this: