0% found this document useful (0 votes)
4 views16 pages

Unsolved Date Function

The document provides various Excel formulas and functions related to date and time calculations, including how to find the current date and time, calculate differences between dates, and extract day and month names. It also includes examples of using functions like DATEDIF, EOMONTH, NETWORKDAYS, and EDATE for project management and age calculation. Additionally, it demonstrates how to format and concatenate age details based on dates of birth and today's date.

Uploaded by

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

Unsolved Date Function

The document provides various Excel formulas and functions related to date and time calculations, including how to find the current date and time, calculate differences between dates, and extract day and month names. It also includes examples of using functions like DATEDIF, EOMONTH, NETWORKDAYS, and EDATE for project management and age calculation. Additionally, it demonstrates how to format and concatenate age details based on dates of birth and today's date.

Uploaded by

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

Date and time function

to see the current date formula short cut key


7/26/2025 =TODAY() 6/19/2025

to see the current time formula short cut key


7/26/2025 14:59 =NOW() 12:10

example for text (): to find day and month name of the date

date text(day) day short name


7/26/2025 26 Sat
6/10/2024 10 Mon
3/4/2003 04 Tue
5/4/2001 04 Fri

date text(month) number month short name


7/26/2025 07 Jul
8/10/2024 08 Aug
3/4/2003 03 Mar
5/4/2001 05 May

example for datedif(to find the differencess between 2 dates)

start date of project end date of project days to complete the project
### ### 27
Saturday, March 4, 2000 Saturday, May 6, 2000 63

Mnf date expire date months


2/1/2021 4/20/2021 19

DOJ todays years


2/1/2000 7/26/2025 25
=TODAY()

weeknum: to display the number of weeks completed in the given year

date weeks fromula


Saturday, July 26, 2025 30 =WEEKNUM(A45,1)
Tuesday, December 31, 2024 53 =WEEKNUM(A47,1)

example for datedif(to find the differencess between 2 dates)

start date of project end date of project days


### ###
Saturday, March 4, 2000 Saturday, May 6, 2000

Mnf date expire date months


2/1/2021 4/20/2021

DOJ todays years


1/22/2016 4/1/2040
ctrl + ;

cmd + :

onth name of the date

day full name


Saturday
Monday
Tuesday
Friday

month full name


July
August
March
May

ncess between 2 dates)

fromula
=DATEDIF(A27,B27,"d")

formula
=DATEDIF(A32,B32,"md")

formula
=DATEDIF(A37,B37,"y") #N/A

completed in the given year


ncess between 2 dates)

fromula
#N/A

formula
#N/A
#N/A

formula
#N/A
#N/A
EOMONTH returns a new date by adding the number of months provided and returning th

start date eomonth formula


Thursday, July 4, 2024 Wednesday, July 31, 2024 =EOMONTH(A5,0)

Example - Last day of the next month


date last date of the current month
7/12/2024 Saturday, August 31, 2024 =EOMONTH(A10,1)

Example - First day of the current month

date first day of the current month


7/12/2024 Monday, July 1, 2024 =EOMONTH(A16,-1)+1

last date of the preveious month


date last date of prev month
7/5/2024 6/30/2024 =EOMONTH(A20,-1)
provided and returning the last day of the resulting month

current month
Start date End date Networkdays

Friday, August 12, 2016 ### 122


### Monday, May 1, 2017 103
Monday, March 13, 2017 ### 13
### Thursday, May 4, 2017 35
formula Hloiday Name
New Year Day
=NETWORKDAYS.INTL(B4,C4,11,$I$3:$I$6) Good Friday
Easter Day
Christmas
Holiday Date
###
25 March 2017
28 March 2017
25 December 2017
Start break (days)
Friday, 1 January, 2021 1
Monday, 1 February, 2021 7
Monday, 1 March, 2021 30
Thursday, 27 May, 2021 2
Saturday, 1 May, 2021 1
Saturday, 3 July, 2021 1
Sunday, 1 August, 2021 2
Wednesday, 1 September, 2021 10
Monday, 4 October, 2021 7
Next working day Holidays
Saturday, 2 January, 2021 =WORKDAY.INTL(E7,F7,11,$J$7:$J$15) 1-Jan-21
Tuesday, 9 February, 2021 18-Jan-21
Monday, 5 April, 2021 31-May-21
Saturday, 29 May, 2021 5-Jul-21
Monday, 3 May, 2021 6-Sep-21
Tuesday, 6 July, 2021 11-Nov-21
Tuesday, 3 August, 2021 25-Nov-21
Tuesday, 14 September, 2021 24-Dec-21
Tuesday, 12 October, 2021 31-Dec-21
The date, one month after the date
Date next due date formula
15-Jan-11 ### =EDATE(A3,1)

The date, one month before the date


st date end date formula
15-Jan-11 ### =EDATE(A7,-1)
Names DOB Years Month Days Details
Martin 3/2/2000 25 4 24 25YR 4MONTHS 24DAYS
James 6/3/2009 16 1 23 16YR 1MONTHS 23DAYS
Jhones 5/2/1999 26 2 24 26YR 2MONTHS 24DAYS
Jhon 5/5/2020 5 2 21 5YR 2MONTHS 21DAYS
Steve 7/6/2008 17 0 20 17YR 0MONTHS 20DAYS
King 4/2/2010 15 3 24 15YR 3MONTHS 24DAYS
Roy 4/6/2002 23 3 20 23YR 3MONTHS 20DAYS

=CONCATENATE(C4,"YR ",D4,"MONTHS ",E4,"DAYS")

find the age for all the names based on DOB and Today's date which is given in
calculate the difference in terms of years, months, days
merge all the values in details column
Age Today's date 7/26/2025
25
16
26
5
17
15
23

S ",E4,"DAYS")

nd Today's date which is given in j1


hs, days

You might also like