ICT Lab 5
ICT Lab 5
Date Marks
ICT Lab
9.1. OBJECTIVE
By default, all cell references are relative references. When copied across multiple cells, they change
based on the relative position of rows and columns. For example, if you copy the formula =A1+B1
from row 1 to row 2, the formula will become =A2+B2
Absolute references do not change when copied or filled. You can use an absolute reference to keep
a row and/or column constant.
An absolute reference is designated in a formula by the addition of a dollar sign ($). It can precede the
column reference, the row reference, or both. To make any column absolute we write:
$A$2: The column and the row do not change when copied.
We can use a data from sheet 1, in any formula in sheet 2. For this we write as:
=Sheet1!A1 + A1
9.4.Concatenate Function
=CONCATENATE(C1," ",D1)
Supposing that c1 contains the first name of a person, and d1 contains last name. we can merge the
two name in one column cell. By using the concatenation function.
1
ICT Lab
The above function; give letter grades according to the scores, i.e., A on 90, B on 80
and C on 70.
=max(a1:a10)
To find the maximum number from a1 to a10, we use the max function. The max function returns the
maximum digits from the given range.
=min (a1:10)
To find the minimum number from a1 to a10, we use the min function. The min function returns the
minimum digits from the given range.
9.8.2. Networkdays
calculates the number of workdays (i.e., a five-day workweek) within a specified timeframe.
=NETWORKDAYS(E4,E3)
The COUNTIFS function applies criteria to cells across multiple ranges and counts the number of times
all criteria are met.
=COUNTIFS(B4:B11,">=66")
2
ICT Lab
=COUNTBLANK(B1:B11)
9.8.5. Sum if
This formula sums the amounts in given range when they meet the criteria.
=SUMIF(B4:B13,">2")
9.8.6. TRUNC
TRUNC function remove the fractional part of a number and return the integer. For example,
TRUNC(4.9) will return 4, and TRUNC(-3.5) will return -3. TRUNC does not do any rounding, it simply
returns the integer part of the number.
TRUNC can also be used to return a set number of decimal places without rounding, using the
num_digits argument. For example, TRUNC (PI(), 2) will return 3.14 and TRUNC (PI(), 3) will return
3.141.
9.8.7. INT
INT function returns only the integer part of a decimal number. For example, INT (3.99) returns the
number 3. It's important to note that INT actually rounds down numbers to the next lowest integer
value.
Use the TRUNC function if you want the exact integer part of both negative and positive numbers.
9.8.8. ROUND
The Excel ROUND function returns a number rounded to a given number of digits.
=ROUND(E10,1)
9.8.9. LEN
The Excel LEN function returns the length of a given text string as the number of characters.
=LEN(H18)
9.8.10. Substitute
3
ICT Lab
=SUBSTITUTE(H18," ","-")
9.8.11. Replace
Excel REPLACE function replaces characters specified by location in a given text string with another
text string. For example =REPLACE("XYZ123",4,3,"456") returns "XYZ456".
=REPLACE(H18,3,5,"kkkkk")
9.9.LAB ACTIVITIES
LAB TASK 1:
LAB TASK 2:
4
ICT Lab
LAB TASK 3:
5
ICT Lab