2.session 3 5 (Uploaded)
2.session 3 5 (Uploaded)
By
Prof. Rajhans Mishra
Date Function
Starting Date : 1 January, 1900
1 January, 1900 = 1
2 January, 1900 = 2
3 January, 1900 = 3
2 Digit year entry
Year entry < 30 ( twenty first century)
Year entry >= 30 ( twentieth century)
Today()
Date continued
DATEVALUE converts date into number
format
=DATEVALUE(01/01/1900)
DATE returns date
Time
The starting point is MIDNIGHT
Times is expressed as a fraction of 24 hours
from midnight
6 A.M. = 0.25
TIME returns time
TIMEVALUE returns value
= TIMEVALUE(12:00:00)
Now()- current Date and Time
Month /Year
Month () Returns a Month number [1-12]
Year() Returns Year
IF
Conditional statements
IFERROR : customize the error message
AND / OR
Multi IF ( alternatives)
COUNT
Count Function
COUNT counts the cells that contain
numbers in a range
COUNTA number of nonblank cells (numbers
& non numbers both)
COUNTBLANK- counts the blank cells
COUNTIF- count with condition
=COUNTIF(B4:B13, >7)
COUNTIFS count with multiple conditions
=COUNTIFS(B4:B13, A, C4:C13, >100)
Skeleton of table used for exercise