0% found this document useful (0 votes)
11 views

Dalab 5

Uploaded by

mvgowda15
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Dalab 5

Uploaded by

mvgowda15
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Arguments

value - The value to check.


Example:
(1) =ISNUMBER(9.8) O/P= True
(2) =ISNUMBER(“AA”) O/P= False

5. TODAY, NOW, YEAR, MONTH, NETWORKDAYS, EOMONTH


Note: for this problem we don’t need sample super store data set
a) TODAY
Returns the current date
Syntax:
=today()

b) Now
Returns current date and time
Syntax:
=now()

c) Year
Returns the year corresponding to a date. The year is returned as an integer in
the range 1900-9999.
Syntax
YEAR(serial_number)
The YEAR function syntax has the following arguments:
▪ Serial_number Required. The date of the year you want to find. Dates
should be entered by using the DATE function, or as results of other
formulas or functions. For example, use DATE(2008,5,23) for the 23rd day
of May, 2008. Problems can occur if dates are entered as text.
Example:
=year(today())

d) Month
Returns the month of a date represented by a serial number. The month is given
as an integer, ranging from 1 (January) to 12 (December).
Syntax
MONTH(serial_number)
The MONTH function syntax has the following arguments:
▪ Serial_number Required. The date of the month you are trying to find.
Dates should be entered by using the DATE function, or as results of other
formulas or functions.

e) Networkdays
Returns the number of whole working days between start_date and end_date.
Working days exclude weekends and any dates identified in holidays.

Syntax
NETWORKDAYS(start_date, end_date, [holidays])
The NETWORKDAYS function syntax has the following arguments:
▪ Start_date Required. A date that represents the start date.
▪ End_date Required. A date that represents the end date.
▪ Holidays Optional. An optional range of one or more dates to exclude
from the working calendar, such as state and federal holidays and floating
holidays. The list can be either a range of cells that contains the dates or an
array constant of the serial numbers that represent the dates.

Example
Copy the example data in the following table, and paste it in cell A1 of a new
Excel worksheet. For formulas to show results, select them, press F2, and then
press Enter. If you need to, you can adjust the column widths to see all the data.
Date Description
10/1/2012 Start date of project
3/1/2013 End date of project
11/22/2012 Holiday
12/4/2012 Holiday
1/21/2013 Holiday
Formula Description Result
=NETWORKDAYS(A Number of workdays between the start 110
2,A3) (10/1/2012) and end date (3/1/2013).
=NETWORKDAYS(A Number of workdays between the start 109
2,A3,A4) (10/1/2012) and end date (3/1/2013),
with the 11/22/2012 holiday as a non-
working day.
=NETWORKDAYS(A Number of workdays between the start 107
2,A3,A4:A6) (10/1/2012) and end date (3/1/2013),
with the three holidays as non-working
days.

f) Eomonth
Returns the serial number for the last day of the month that is the indicated
number of months before or after start_date. Use EOMONTH to calculate
maturity dates or due dates that fall on the last day of the month.
Syntax:
EOMONTH(start_date, months)
The EOMONTH function syntax has the following arguments:
▪ Start_date Required. A date that represents the starting date. Dates should
be entered by using the DATE function, or as results of other formulas or
functions. For example, use DATE(2008,5,23) for the 23rd day of May,
2008. Problems can occur if dates are entered as text.
▪ Months Required. The number of months before or after start_date. A
positive value for months yields a future date; a negative value yields a past
date.
Note: If months is not an integer, it is truncated.
Example
Copy the example data in the following table, and paste it in cell A1 of a new
Excel worksheet. For formulas to show results, select them, press F2, and then
press Enter. If you need to, you can adjust the column widths to see all the data.
Date
1-Jan-11
Formula Description Result
=EOMONTH(A2,1) Date of the last day of the month, one 2/28/2011
month after the date in A2.
=EOMONTH(A2,- Date of the last day of the month, three 10/31/2010
3) months before the date in A2.

6. FILTER, FREQUENCY, SEQUENCE, RANDARRAY, IFERROR


a) FILTER

Explanation:
The FILTER function allows you to filter a range of data based on criteria you
define.
Syntax:
=FILTER(array,include,[if_empty])

Argument Description

Array The array, or range to filter

You might also like