Professional Documents
Culture Documents
cc hm trong excel
Hm minute & hm second.
1/- Hm MINUTE(Serial_number)
Hm ny tr v s pht ng vi gi tr ca tham
s truyn vo.
Kt qu tr v l 1 s nguyn t Serial_number :
l mt biu thc thi gian, Serial_number c th
l Number, Time_text hay Time_value. 0 n 59.
Gi tr Pht trong biu thc thi gian (Time_text)
phi c gi tr =0 v <60. Nu vt qua gi tr
ny, hm s tr v li.
V d
=MINUTE(1.2) : gi tr tr v l 48.
=MINUTE("15:30:45 AM") : gi tr tr v l 30.
=MINUTE(TIME(12,59,30)) : gi tr tr v l 59.
=MINUTE(NOW()) : gi tr tr v l 30.
=MINUTE("10:60:30 AM") : gi tr tr v l #Value.
2/- Hm SECOND(Serial_number)
V d
=SECOND(1.11) : gi tr tr v l 24.
=SECOND(15:30:45 AM) : gi tr tr v l 45.
=SECOND(TIME(12,59,50)) : gi tr tr v l 50.
=SECOND(TIME(12,59,70)) : gi tr tr v l 10.
=SECOND("10:30:60 AM") : gi tr tr v l #Value.