FUNGSI : Untuk
menguji kebenaran suatu kondisi dengan beberapa ketentuan
Bentuk penulisan fungsi :
=IF(X,Y,IF(X,Y,Z))
|
Contoh Kasus.
Peserta ujian mendapatkan nilai huruf A / B /
C / D jika rata-rata Nilai mencapai
kriteria yang ditentukan.
NAMA
|
NILAI-1
|
NILAI-2
|
RATA2
|
NILAI
|
HASIL
|
PENULISAN
|
NUMBER
|
NUMBER
|
NUMBER
|
HURUF
|
FUNGSI
|
||
ANI
|
90
|
80
|
85
|
LULUS
|
=IF(F7<60,"D",IF(F7<80,"C",IF(F7<90,"B","A")))
|
|
ALI
|
70
|
88
|
79
|
LULUS
|
=IF(F8<60,"D",IF(F8<80,"C",IF(F8<90,"B","A")))
|
|
INA
|
80
|
67
|
73,5
|
LULUS
|
=IF(F9<60,"D",IF(F9<80,"C",IF(F9<90,"B","A")))
|
|
IRA
|
50
|
60
|
55
|
TIDAK LULUS
|
=IF(F10<60,"D",IF(F10<80,"C",IF(F10<90,"B","A")))
|
0 Komentar