Sunteți pe pagina 1din 2

LECTURE 3

*Excel help on-line (help button) (?)>> search textbox>> hiding rows
*IF Function- decision making function
*Syntax of IF function - correct way Excel expects us to write, or describe these
function on the worksheets.
-IF (logical_test,[value_if_true],[value_if_false])
-logical test means any value or expression that can be evaluated to
TRUE / FALSE
-EX: A10=100(this called logical expression), if the value in A10 is 100, yes
its true, otherwise is false.
- [] in the syntax mean the argument is optional
*comparison operators in excel are as follows:
=:::::A1=B1:::::test whether the value in A1 is equal the value in B1
>:::::A1.B1:::::tests whether the value in A1 is greater than in B1
<
>= ::::greater than or equal to
<= less than or equal
< > not equal to
FORMULA: =if E12.=85,7,Not 7) can also be written as perfect as
=if(E12>=75,6,if(E12>=65,5,if.blablabla until the grades finsh.
*makesure the number of open brackets equal to c,osing bracket.
- NESTED IF IF function comprises other IF function.
The [value_if_false] is different for each other.
Three business rules ( send gift or no gift)
1. =if(logical test, value of true. Value of false)
2. AND FUNCTION
3. OR FUNCTION
VLOOKUP LECTURE 4
1. Vlookup- vertical
2. Hlookup- horizontal
VLOOKUP SYNTAX (argument 1 & 2)
VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

S-ar putea să vă placă și