Professional Documents
Culture Documents
Formulas: Results:
A B A B
1 5 =SUM( 15, 29 ) 1 5 44
2 7 =SUM( A1, A2 ) 2 7 12
3 9 =SUM( A1:A3 ) 3 9 21
Formulas: Results:
A B A B
1 3 =PRODUCT( 3, 6 ) 1 3 18
=PRODUCT( A1, 2 2 6
2 2 A2 )
3 5 30
3 5 =PRODUCT( A1:A3 )
Formulas: Results:
A B C A B C
1 =POWER( 2, 3 ) 1 8
2 5.5 3 =POWER( A2, B2 ) 2 5.5 3 166.375
3 2 0.5 =POWER( A3, B3 ) 1.41421356
3 2 0.5 2
A B A B
1 =SQRT( 25 ) 1 5
2 15625 =SQRT( A2 2 15625 125
A B A B
1 =QUOTIENT( 5, 2 ) 1 2
2 =QUOTIENT( 10, 2.2 ) 2 4
=QUOTIENT( A3, 3 5.5 2
3 5.5 2.667 )
-
4 -7 =QUOTIENT( A4, 2 ) 4 -7 4
Logical Function
AND Function
The Excel AND function tests a number of supplied conditions and returns:
AND( logical_test1, [logical_test2], ... )
where the logical_test arguments are one or more conditions that evaluate to either TRUE or FALSE.
Notes:
Formulas: Results:
A B C A B C
1 5 10 =AND( A1>0, A1<B1 ) 1 5 10 TRUE
=AND( A2>0, A2<B2, FALS
2 5 10 B2>12 ) 2 5 10 E
3 5 10 =AND( A3<0, A3>B3, 3 5 10 FALS
OR Function Description
The Excel OR function tests a number of supplied conditions and returns either:
OR( logical_test1, [logical_test2], ... )
where the logical_test arguments are one or more conditions that evaluate to either TRUE or FALSE.
Notes:
Formulas: Results:
A B C A B C
1 5 10 =OR( A1>0, A1<B1 ) 1 5 1 TRUE
IF Function Description
The Excel IF function tests a supplied condition and returns one result if the condition evaluates to TRUE, and
another result if the condition evaluates to FALSE.
IF( logical_test, value_if_true, value_if_false )
If Function Example
The following spreadsheet shows two simple uses of the Excel If function. In these examples,
the logical_test checks whether the corresponding value in column A is less than zero and returns:
The text string "negative" if the value in column A is less 0
or
The text string "positive" otherwise (i.e. if the value in column A is greater than or equal to 0).
A B C
=IF( A1<0, "negative",
1 5 "positive" ) - returns "positive"
2 -2 =IF( A2<0, "negative", - returns "negative"
LAB TASKS
1. Open excel sheet and enter following data.