0% found this document useful (0 votes)
14 views4 pages

Lecture 2 NOTES 2

Uploaded by

sharonsharu20298
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views4 pages

Lecture 2 NOTES 2

Uploaded by

sharonsharu20298
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Lecture 2: Basic Formulas and Functions

Objective:
Shivanjali deore
Teach students how to perform basic calculations and use
functions.

1. Basic Formulas

Understanding Cell References

1. Relative References: These change when a formula is copied to another cell. For
example, if you have =A1+B1 in cell C1 and you copy it to C2, it becomes =A2+B2.

2. Absolute References: These do not change when a formula is copied. Use $ to lock
either the row, the column, or both. For example, $A$1 always refers to cell A1.

3. Mixed References: A combination of relative and absolute references. For example,


$A1 locks the column A, and A$1 locks the row 1.

ASSIGNMENT1:

• Create a simple table with data in cells A1 to B3.

• Write a formula in cell C1 that sums A1 and B1.

• Copy the formula from C1 to C2 and C3.

• Change the formula in C1 to use absolute references (e.g., $A$1 + $B$1) and copy it
again.

Basic Arithmetic Operations

• Addition (+): =A1 + B1

• Subtraction (-): =A1 - B1

• Multiplication (*): =A1 * B1

• Division (/): =A1 / B1

ASSIGNMENT2:

• In a new worksheet, input two numbers in cells A1 and B1.


• Create formulas in cells C1, C2, C3, and C4 to add, subtract, multiply, and divide A1 and
B1, respectively.

2. Common Functions

SUM, AVERAGE, MIN, MAX

• SUM(range): Adds all the numbers in a range. E.g., =SUM(A1:A10)

• AVERAGE(range): Calculates the average of numbers in a range. E.g., =AVERAGE(A1:A10)

• MIN(range): Finds the minimum value in a range. E.g., =MIN(A1:A10)

• MAX(range): Finds the maximum value in a range. E.g., =MAX(A1:A10)

ASSIGNMENT3:

• Enter numbers 1 to 10 in cells A1 to A10.

• Use SUM, AVERAGE, MIN, and MAX functions in cells B1 to B4 to calculate the
respective values.

COUNT and COUNTA

• COUNT(range): Counts the number of numeric cells in a range. E.g., =COUNT(A1:A10)

• COUNTA(range): Counts all non-empty cells in a range. E.g., =COUNTA(A1:A10)

ASSIGNMENT4:

• In cells A1 to A10, enter a mix of numbers, text, and empty cells.

• Use COUNT and COUNTA functions to count the numeric and non-empty cells in
columns B1 and B2.

Basic Text Functions

• CONCATENATE(text1, text2, ...): Joins several text strings into one. E.g.,
=CONCATENATE(A1, " ", B1)

• LEFT(text, num_chars): Extracts a given number of characters from the left of a text
string. E.g., =LEFT(A1, 3)

• RIGHT(text, num_chars): Extracts a given number of characters from the right of a text
string. E.g., =RIGHT(A1, 3)

• MID(text, start_num, num_chars): Extracts a given number of characters from the


middle of a text string. E.g., =MID(A1, 2, 3)

ASSIGNMENT5:

• In cells A1 and B1, enter first names and last names.

• Use CONCATENATE in cell C1 to join first and last names with a space in between.
• Use LEFT, RIGHT, and MID functions to extract parts of names as specified.

3. Using AutoSum and AutoFill

Using AutoSum for Quick Calculations

• Select a cell below a column of numbers.

• Click the AutoSum button on the Home tab.

Press Enter to get the sum of the numbers. Shivanjali deore

ASSIGNMENT6:

• Enter numbers 1 to 5 in cells A1 to A5.

• Use AutoSum to calculate the total in cell A6.

AutoFill for Extending Patterns and Series

• Enter a value in a cell.

• Drag the fill handle (small square at the cell's bottom-right corner) to fill adjacent cells
with a series or pattern.

ASSIGNMENT7:

• In cell A1, enter "Monday".

• Use AutoFill to drag and fill cells A2 to A7 with the days of the week.

4. Error Handling

Common Errors

• #DIV/0!: Division by zero.

• #VALUE!: Wrong type of argument or operand.

Understanding and Troubleshooting Errors

• Click the cell with the error.

• Read the error message.

• Adjust the formula to correct the error.

ASSIGNMENT8:

• Create a formula in cell A1 that divides a number by zero (e.g., =10/0).

• Observe the #DIV/0! error.

• Correct the formula to avoid division by zero.


• Create a formula in cell A2 that tries to add text to a number (e.g., ="text" + 10).

• Observe the #VALUE! error.

• Correct the formula to add only numbers.

Practice these assignments and ask any questions you might have!

Shivanjali deore

You might also like