0% found this document useful (0 votes)
52 views18 pages

Excel2010 Dates Handout

This document provides an overview of working with dates and times in Microsoft Excel 2010. It discusses how dates and times are stored as serial numbers, formatting dates and times, performing calculations with dates and times, and using date and time functions. The workshop covers building custom date/time formats, calculating durations between dates and times, and functions such as DATE, DAY, EDATE, and NOW. Completion of a prior Excel basics workshop is recommended for attendees.

Uploaded by

Pratama Abimanyu
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)
52 views18 pages

Excel2010 Dates Handout

This document provides an overview of working with dates and times in Microsoft Excel 2010. It discusses how dates and times are stored as serial numbers, formatting dates and times, performing calculations with dates and times, and using date and time functions. The workshop covers building custom date/time formats, calculating durations between dates and times, and functions such as DATE, DAY, EDATE, and NOW. Completion of a prior Excel basics workshop is recommended for attendees.

Uploaded by

Pratama Abimanyu
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/ 18

 

Microsoft Excel 2010 
Dates and Times 

Email:  [email protected] 
Web Page:  http://training.health.ufl.edu 
 
Microsoft Excel 2010: Dates and Times 
1.5 hour 
Topics include understanding the date serial number; using built in and custom formatting for dates and times; 
simple math to find durations between days and times; and using some of Excel's Date and Time functions. This 
workshop assumes some prior experience with building functions in Excel. Completion of "Excel: Basics II" is 
recommended.  
 
Dates in Excel ........................................................................................................................................................... 1 
Times in Excel .......................................................................................................................................................... 1 
Useful Date/Time Shortcuts .................................................................................................................................... 1 
Custom Formatting .................................................................................................................................................. 2 
Days, Months, and Years ..................................................................................................................................... 2 
Hours, minutes, and seconds .............................................................................................................................. 2 
Totaling Time ...................................................................................................................................................... 3 
Simple Date/Time Math .......................................................................................................................................... 3 
Date Worksheet Functions ...................................................................................................................................... 3 
DATE ‐ Returns the sequential serial number that represents a particular date ............................................... 3 
DATEVAULE ‐ Returns the serial number of a date ............................................................................................. 4 
DAY ‐ Returns the numeric value of the day in a valid date ............................................................................... 4 
DAYS360 ‐ returns the number of days between two dates based on a 360‐day year ...................................... 4 
EDATE ‐ Returns serial number of the date that is a number of months away from a date .............................. 5 
EOMONTH ‐ Returns serial number for the last day of the month .................................................................... 5 
Month ‐ Returns the numeric value of the month in a valid date ...................................................................... 5 
TODAY ‐ the serial number of the current date .................................................................................................. 5 
NETWORKDAYS ‐ returns the number of whole working days between two dates ........................................... 6 
WEEKDAY ‐ Returns the day of the week corresponding to a date .................................................................... 6 
WEEKNUM ‐ Returns the day of the week corresponding to a date .................................................................. 6 
WORKDAY ‐ Returns a date that is a number of working days before or after a date ....................................... 7 
Year ‐ Returns the numeric value of the year in a valid date ............................................................................. 7 
YEARFRAC ‐ Returns fraction of the year of the number of whole days between two dates ............................ 7 
Time Functions ........................................................................................................................................................ 8 
HOUR ‐ Returns the hour of a time value ........................................................................................................... 8 
MINUTE‐ Returns the hour of a time value......................................................................................................... 8 
NOW ‐ the serial number of the current date and time ..................................................................................... 8 
SECOND ‐ Returns the Seconds of a time value .................................................................................................. 8 
TIME ‐ Returns the sequential serial number that represents a particular time ................................................ 9 
TIMEVAULE ‐ Returns the serial number of a time ............................................................................................. 9 
Datedif Function ...................................................................................................................................................... 9 
Class Exercise ......................................................................................................................................................... 10 
 

 
 
 
Pandora Rose Cowart   
Senior Training Specialist   
Academic Health Center Training 
   
    
C3‐012A Communicore   (352) 273‐5051 
PO Box 100152  [email protected]  
Gainesville, FL 32610‐0152  http://training.health.ufl.edu  
 
 
Dates in Excel 
If you've ever lost the date formatting on a cell, you have seen it turn into a strange number. For example, Excel 
sees both of these cells as the same number: 

 
  
The serial number 41,564 tells me how many days it has been since January 1st, 1900*. According to Excel, 
that's when time began. The serial numbers are sequential: 

 
 
*Note: The default date system for the Macintosh begins with January 1, 1904. This may cause some confusion if you try to 
use the same file in both a Mac and a PC. The setting can be changed in the Excel Options on the File menu. 
 
Times in Excel 
For Microsoft Excel, 1 is equivalent to 24 hours. So if we take our October 17th date, and add in a time of 
12:00pm, it translates into 41564.5, the 0.5 representing the half‐way point of the day.  
 
That is since 1=24 hours, 0.5=12 hours. 

 
 
If you leave the date off a time, Excel will default to 1/0/1900 as the 'understood' date. You can ignore that, but 
realize that is what happens if you change a time format into a date/time format. All three of these cells contain 
12:00 PM, they are just displayed with different formats:  

 
 
Useful Date/Time Shortcuts 

Shortcut  Result  Note 


Ctrl‐;  Current Date  Control Semicolon 

Ctrl‐:  Current Time  Control Colon 

Shift‐Ctrl‐3  Formats the cell to show DD‐MMM‐YYYY  3/# from the full keyboard 

Page 1 
 
 
 
Custom Formatting 
Days, Months, and Years      
You can format a cell with a preset list of options in the 
Format Cells Window. Right‐click on a cell and choose Format 
cells, or select the cell and press Ctrl‐1 to open this window. 
 
Excel give a pretty extensive list of date and time formats for 
you to choose, but it is possible to custom build a date format 
instead, using simple abbreviations.  
 
 Years ‐‐ yy, yyyy 
 Months ‐‐ m, mm, mmm, mmmm  
 Days ‐‐ d, dd, ddd, dddd  
 

Dates for Tuesday, February 3, 2004 
Day  Month  Year 
d  3  m  2 
yy  04 
dd  03  mm  02 
ddd  Tue  mmm  Feb 
yyyy 2004
dddd  Tuesday mmmm February
 
Hours, minutes, and seconds  
 Hours ‐‐ h, hh 
 Minutes – m, mm 
 Seconds – s, ss 
 
If you use "m" immediately after the "h" or "hh" code or immediately before the "ss" code, Excel displays 
minutes instead of the month. 
 

Times for 1:02:05 
Hours  Minutes  Seconds 
h  1  m  2  s  5 
hh  01  mm  02  ss  05 
 
If you would like to use the 12 hour clock you need to add the appropriate designator at the end.  Access will 
accept any of the following: AM/PM; am/pm; A/P; a/p; AMPM. 
 

Times for 17:02:05 
Hours  24 hour clock  12 hour clock 
h  17  h:m  17:2  h:m am/pm  5:2 PM 
hh  17  h:mm  17:02  h:mm am/pm  5:02 PM 
h AM/PM  5 PM  hh:mm  17:02  hh:mm am/pm  05:02 PM 
 
If you need to go smaller, adding .00 after the second format (ss.00) will give the fraction of a second. 

Page 2 
 
 
 
Totaling Time 
The time formats in Excel stay within the defaults of 24 hours, 60 minutes, 60 seconds. If we do math we may 
want it to display the times beyond these boundaries. For this, we use the brackets [ ] around the abbreviation. 
 

Beyond the Boundaries 
36 Hours  75 minutes  75 seconds 
h  12  m  (assumes month) s  15 
hh  12  mm  (assumes month) ss  15 
[h]  36  [m]  75  [s]  75 
   
Simple Date/Time Math 
Because dates and times are stored as numbers you can do simple math with them.  
Begin  End  Formula  Result 
01/02/2013  05/15/2013  =Last Date – First Date  Days Elapsed = 133 
8:15 AM  5:00 PM  =Last Time – First Time  Time Elapsed = 8:45 
(8 hours 45 minutes) 
 
Times are a fraction of a day. As mentioned earlier, 0.5=24 hours. If we multiply a time by 24 we should get the 
numeric value. 
Time  Time * 24 
8:45 AM  6:00 PM 
 
Why doesn't it look right? You have to format the result as a true number field. 
Time  Time * 24 (formatted as a number) 
8:45 AM  8.45 
 
Remember if you are going beyond the 24 hour clock, you will need to set up a custom format. 
 
Date Worksheet Functions 
Adapted from Excel Help 
DATE ‐ Returns the sequential serial number that represents a particular date 
Syntax: DATE(year, month, day) 
Year   The value of the year argument can include one to four digits. 
Month   A positive or negative integer representing the month of the year from 1 to 12. If month is 
greater than 12, month adds that number of months to the first month in the year specified 
Day   A positive or negative integer representing the day of the month from 1 to 31. 
 
Equation  Result  Notes 
=DATE(2009,3,15)  3/15/2009   
=DATE(5,10,15)  10/15/1905  Notice this counts year from 1900, thus will not assume "2005" 
=DATE(2010,15,20)  3/20/2011  Notice this is going into the following year 
=DATE(1976,11,35)  12/5/1976  Notice this is going into the following month 
=DATE(2007,‐1,5)  11/5/2006  Month is the only value that can be entered as a negative value 
 

Page 3 
 
 
 
DATEVAULE ‐ Returns the serial number of a date 
Converts a date that is stored as text to a serial number that Excel recognizes as a date. To view a date serial 
number as a date, you must apply a date format to the cell. 
 
Syntax: DATEVALUE(date_text) 
date_text represents a date between 01/01/1900 and 12/31/9999 saved as text 
 
Equation  Result  Notes 
=DATEVALUE(3/15/2009)  #VALUE!  Date not in Text format 
=DATEVALUE("10/15/1905")  2115   
=DATEVALUE("3/20/2011")  40622   
=DATEVALUE(A1)  #VALUE!  A1 = 12/5/1976 
=DATEVALUE(A1)  28099  A1 = "12/5/1976" 
 
DAY ‐ Returns the numeric value of the day in a valid date 
Syntax: =DAY(serial number) 
Serial Number is the date of the day you are trying to find. 
 
Equation  Result  Notes 
=DAY(3/15/2009)  0  Serial Number not a Date (Excel sees 3÷15÷2009) 
=DAY("10/15/1905")  15   
=DAY(40622)  20  Equivalent to 3/20/2011 
=DAY(A1)  5  A1 = 12/5/1976 
 
 
DAYS360 ‐ returns the number of days between two dates based on a 360‐day year  
360 day year assumes twelve 30‐day months, this is often used with accounting calculations.  If start_date 
occurs after end_date, the DAYS360 function returns a negative number. 
 
Syntax: DAYS360(start_date, end_date, [method]) 
Start Date and End Date are valid dates which represent the starting and ending dates. Method 
Optional logical value that specifies whether to use the U.S. (NASD) or European method in the 
calculation.  False or omitted will give us the U.S. method, True will use the European method.   
 
Remarks: If start_date is the last day of the month, both methods set the start_date to the 30th of the 
month, but if the end_date is the last day of the month the US method will change the date to the 1st of the 
next month, the European will change the date to the 30th. 
 
Equation  Result  Notes 
=DAYS360(A1,A2)  8  A1 = 02/27/2009, A2 = 03/05/2009 
=DAYS360(B1,B2)  1  B1 = 01/30/2009, B2 = 02/01/2009 
=DAYS360(C1,C2)  1  C1 = 01/31/2009, C2 = 02/01/2009 
=DAYS360(D1,D2)  360  D1 = 11/15/2009, D2 = 11/15/2010 
 
   

Page 4 
 
 
 
EDATE ‐ Returns serial number of the date that is a number of months away from a date 
Syntax: EDATE(start_date,months) 
Start Date is a valid date that represents the starting date 
Months is 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 
 
Equation  Result  Notes 
=EDATE(A1,1)  39899  03/27/2009  A1 = 02/27/2009 
=EDATE(A1,10)  40174  12/27/2009  A1 = 02/27/2009 
=EDATE(A1,100)  42913  06/27/2017  A1 = 02/27/2009 
=EDATE(A1,‐1)  39840  01/27/2009  A1 = 02/27/2009 
 
EOMONTH ‐ Returns serial number for the last day of the month 
EOMonth => End of month 
 
Syntax: EOMONTH(start_date,months) 
Start Date is a valid date that represents the starting date 
Months number of months before or after start_date. A positive value for months yields a future date; 
a negative value yields a past date. 
 
Equation  Result  Notes 
=EOMONTH(A1,1)  39903  03/31/2009  A1 = 02/27/2009 
=EOMONTH(A1,10)  40178  12/31/2009  A1 = 02/27/2009 
=EOMONTH(A1,100)  42916  06/30/2017  A1 = 02/27/2009 
=EOMONTH(A1,‐1)  39844  01/31/2009  A1 = 02/27/2009 
 
Month ‐ Returns the numeric value of the month in a valid date 
Syntax: =MONTH(serial number) 
Serial Number is the date of the month you are trying to find. 
 
Equation  Result  Notes 
=MONTH("10/15/1905")  10   
=MONTH(40622)  3  Equivalent to 3/20/2011 
=MONTH(A1)  12  A1 = 12/5/1976 
 
TODAY ‐ the serial number of the current date 
Syntax: TODAY( ) 
 
Equation  Result  Notes 
=TODAY( )  4/30/2014  This will always be the current date. 

Page 5 
 
 
 
NETWORKDAYS ‐ returns the number of whole working days between two dates 
Syntax: NETWORKDAYS(start_date,end_date,holidays) 
Start Date and End Date are valid dates. 
Holidays is an optional range of one or more dates to exclude from the working calendar. 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 
 
Equation  Result  Notes 
=NETWORKDAYS(A1,A2)  5  A1 = 02/27/2009, A2 = 03/05/2009 
=NETWORKDAYS(B1,B2)  1  B1 = 01/30/2009, B2 = 02/01/2009 
=NETWORKDAYS(C1,C2)  12  C1 = 07/01/2009, C2 = 07/15/2009 
C1 = 07/01/2009, C2 = 07/15/2009,  
=NETWORKDAYS(C1,C2,C3)  11 
C3 = 07/04/1999 
D1 = 11/15/2009, D2 = 11/15/2010, D3 = 
=NETWORKDAYS(D1,D2,D3:D4)  259 
01/01/2010, D4 = 07/04/2010 
 
WEEKDAY ‐ Returns the day of the week corresponding to a date 
Syntax: =WEEKDAY(serial number,return_type) 
Serial Number is the date of the day you are trying to find. 
Return Type  is a number that determines the type of return value.  1 or omitted sees the week as 1‐
Sunday, 7‐Saturday.  2 sees the week as 1‐Monday, 7‐Sunday.  3 sees the week as 0‐Monday, 
6‐Sunday. 
 
Equation  Result  Notes 
=WEEKDAY("12/15/1976")  4  Wednesday, December 15, 1976 
=WEEKDAY(40622)  1  Sunday, March 20, 2011 
=WEEKDAY(A1)  7  A1 = Saturday, October 28, 1905 
 
WEEKNUM ‐ Returns the day of the week corresponding to a date 
Syntax: =WEEKNUM(serial number,return_type) 
Serial Number is the date of the day you are trying to find. 
Return Type  is a number that determines the type of return value.  1 ‐ Week begins on Sunday. 
Weekdays are numbered 1 through 7; 2 ‐ Week begins on Monday. Weekdays are numbered 1 
through 7. 
 
Remarks: The WEEKNUM function considers the week containing January 1 to be the first week of the year. 
 
Equation  Result  Notes 
=WEEKNUM("12/15/1976")  51  Wednesday, December 15, 1976 
=WEEKNUM(40622)  13  Sunday, March 20, 2011 
=WEEKNUM(A1)  43  A1 = Saturday, October 28, 1905 

Page 6 
 
 
 
WORKDAY ‐ Returns a date that is a number of working days before or after a date  
Syntax: WORKDAY(start_date,days,holidays) 
Start Date is a valid date that represents the starting date. 
  Days is the number of non‐weekend and non‐holiday days before or after start_date. A 
positive value yields a future date; a negative value, a past date. 
Holidays is an optional range of one or more dates to exclude from the working calendar. 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 
 
Equation  Result  Notes 
=WORKDAY(A1,1)  39874  Mon 3/2/09  A1 = 02/27/2009 
=WORKDAY(A1,10)  39885  Fri 3/13/09  A1 = 02/27/2009 
=WORKDAY(A1,100)  40011  Fri 7/17/09  A1 = 02/27/2009 
C1 = 07/01/2009,  
=WORKDAY(C1,100,C3)  40135  Wed 11/18/09 
C2 = 07/04/2009 
D1 = 11/15/09, D2 = 100,  
=WORKDAY(D1,D2,D3:D4)  40274  Tue 4/6/10 
D3 = 1/1/10, D4 = 1/18/10 
 
Year ‐ Returns the numeric value of the year in a valid date 
Syntax: =YEAR(serial number) 
Serial Number is the date of the year you are trying to find. 
 
Equation  Result  Notes 
=YEAR("10/15/1905")  5   
=YEAR(40622)  2011  Equivalent to 3/20/2011 
=YEAR(A1)  1976  A1 = 12/5/1976 
 
YEARFRAC ‐ Returns fraction of the year of the number of whole days between two dates 
Syntax: YEARFRAC(start_date, end_date, basis) 
Start Date and End Date are valid dates which represent the starting and ending dates 
Basis is the type of day count basis to use 
0‐US/NASD 30/360; 1‐Actual/Actual; 2‐Actual/360; 3‐Actual/365; 4‐European 30/360 
 
 
Equation  Result  Notes 
=YEARFRAC(A1,A2)  1  A1 = 1/1/2009, A2 = 1/1/2010 
=YEARFRAC(A1,A3)  1.013888889 A1 = 1/1/2009, A3 = 1/1/2010 
=YEARFRAC(A1,A4)  0.455555556 A1 = 1/1/2009, A4 = 6/15/2009 
=YEARFRAC(A1,A5)  0.538888889 A1 = 1/1/2009, A5 = 7/15/2009 
=YEARFRAC(A1,A6)  13.53888889  A1 = 1/1/2009, A6 = 7/15/2022 
 
   

Page 7 
 
 
 
Time Functions 
HOUR ‐ Returns the hour of a time value 
Syntax: HOUR(serial_number) 
Serial_Number the time that contains the hour you want to find.  
 
Remarks: Times may be entered as text strings within quotation marks (for example, "6:45 PM"), as decimal 
numbers (for example, 0.78125, which represents 6:45 PM), or as results of other formulas or 
functions (for example, TIMEVALUE("6:45 PM")). 
 
Equation  Result Notes
=HOUR(A1)  20  A1 = 8:28 PM 
=HOUR(B1)  8  B1 = 8:28 AM 
=HOUR(C1)  15  C1 = 15:43:12 
=HOUR(D1)  17  D1 = 1/2/2003 17:52 
 
MINUTE‐ Returns the hour of a time value 
Syntax: MINUTE (serial_number) 
Serial_Number the time that contains the hour you want to find.  
 
Remarks: Times may be entered as text strings within quotation marks (for example, "6:45 PM"), as decimal 
numbers (for example, 0.78125, which represents 6:45 PM), or as results of other formulas or 
functions (for example, TIMEVALUE("6:45 PM")). 
 
Equation  Result  Notes 
=MINUTE(A1)  28  A1 = 8:28 PM 
=MINUTE(C1)  43  C1 = 15:43:12 
=MINUTE(D1)  52  D1 = 1/2/2003 17:52 
 
NOW ‐ the serial number of the current date and time 
Syntax: NOW( ) 
 
Equation  Result  Notes 
=NOW( )  3/7/2009 11:02  This will always be the current date/time. 
 
SECOND ‐ Returns the Seconds of a time value 
Syntax: SECOND(serial_number) 
Serial_Number the time that contains the hour you want to find.  
 
Remarks: Times may be entered as text strings within quotation marks (for example, "6:45 PM"), as decimal 
numbers (for example, 0.78125, which represents 6:45 PM), or as results of other formulas or 
functions (for example, TIMEVALUE("6:45 PM")). 
 
Equation  Result  Notes 
=SECOND(A1)  0  A1 = 8:28 PM 
=SECOND(C1)  12  C1 = 15:43:12 
=SECOND(D1)  15  D1 = 1/2/2003 17:52:15 

Page 8 
 
 
 
TIME ‐ Returns the sequential serial number that represents a particular time 
Syntax: TIME(hour, minute, second) 
Hour   is a number from 0 (zero) to 32767 representing the hour. Any value greater than 23 will be 
divided by 24 and the remainder will be treated as the hour value 
Minute   is a number from 0 to 32767 representing the minute. Any value greater than 59 will be 
converted to hours and minutes. 
Second   is a number from 0 to 32767 representing the second. Any value greater than 59 will be 
converted to hours, minutes, and seconds. 
 
Equation  Result  Notes 
=TIME(15,3,15)    3:03:20 PM   
=TIME(0,0,2000)    12:33:20 AM  2000 seconds = 33 min, 20 sec 
=TIME(C1, C2, C3)    6:12:09 AM   
 
 
TIMEVAULE ‐ Returns the serial number of a time 
Converts a time that is stored as text to a serial number that Excel recognizes as a time. To view a time serial 
number as a time, you must apply a time format to the cell. 
 
Syntax: TIMEVALUE(time_text) 
time_text represents a time between 01/01/1900 and 12/31/9999 saved as text 
 
Equation  Result  Notes 
=TIMEVALUE("3:03:20 PM ")  0.627314815   
=TIMEVALUE("12:33:20 AM ")  0.023148148   
=TIMEVALUE(A1)  #VALUE!  A1 = 6:12:09 AM (not text) 
=TIMEVALUE(A1)  0.2584375  A1 = "6:12:09 AM " 
 
Datedif Function 
There is a function that can find the difference between two dates and return different increments. When you 
subtract two dates you get the number of days between them. The Datedif function is not in the help files or list 
of formats, but is probably one of the most powerful worksheet functions. 
 
Syntax: DATEDIF(Begin Date, End Date, "Interval") 
 
Interval Description 
D  Number of Days 
M  Number of Months 
Y  Number of Years 
YM  Number of months, not counting years 
YD  Number of days, not counting years 
MD  Number of days, not counting years and months 
 
   

Page 9 
 
 
 
Class Exercise 
 
Open "Dates‐1‐FormatsFills.xlsx" 

1) Sheet "Shortcuts" 

a. Date ‐  
i. B2: Enter today's date month and day only 
ii. B3: Enter today's date with the year 
iii. Select B2 & B3 
1. From the Number Format drop down, choose Short Date 
2. From the Number Format drop down, choose Long Date 
3. Press Shift‐Ctrl‐3 to Quick‐format 

b. Time ‐  
i. B5: Enter a number and a colon 
ii. B6: Enter a number between 1 and 12, a space, then an A or P 
iii. Select B5 & B6 
1. From the Number Format drop down, choose Time 
2. Undo 
3. Press Shift‐Ctrl‐2 to quick format 

c. Current Date/Time ‐  
i. B9: Press Ctrl‐Semicolon (Ctrl‐;) 
ii. B10: Press Ctrl‐Colon (Ctrl‐:) 
iii. B11: Press Ctrl‐Semicolon, press a space, Press Ctrl‐Colon 

d. Notice Date and Time codes in Column E 
i. If you'd like, change the values in B9‐B10 to see the Date Codes change 

e. Current Date/Time Functions ‐  
i. B14: =today() 
ii. B15: =now() 
1. Reformat to a time, if desired 

Page 10 
 
 
 
2) Sheet "Date Formats" 
a. Select A3:F3 
b. Type 1/2/3 and press Ctrl‐Enter 
i. The same date should appear in all the cells 
c. Select each cell and set a custom format 
i. B3: DDD 
ii. C3: DDDD 
iii. D3: MMM 
iv. D4: MMMM 
v. D4: DDDD, MMMM D, YYYY 

3) Sheet "Time Formats" 
a. Enter Date 
i. B3:E3 ‐ Type "1:23 a" and press Ctrl‐Enter 
ii. B4:E4 ‐ Type "1:23 p" and press Ctrl‐Enter 
iii. B5:E5 – Type "25:23" and press Ctrl‐Enter 
b. Custom Format 
i. B3:B5: hh:mm 
ii. C3:C5: hh:mm am/pm 
iii. D3:D5: hh:mm:ss am/pm 
iv. E3:E5: [hh]:mm 

4) Sheet "QtrMthDay Vert" 
a. Enter Data 
i. Quarters 
1. A4: 1st Qtr  /  B4: Qtr 1  /  C4: q1 
ii. Months 
1. D4: January  /  E4: JAN 
iii. Days 
iv. F4: Monday  /  G4: mon 
b. Select A4:G4 
i. Fill to Row 10 

Page 11 
 
 
 
5) Sheet "QtrMthDay Vert" 
a. Select B1:B7 
b. Fill to Column G 

6) Sheet "AutoFill Days" 
a. Select A2:D2, Enter today's date 
i. Ctrl‐;    Ctrl‐Enter 
b. Use Fill handle on each column 
i. Select A2, Fill to Row 10 
ii. Select B2, Fill to Row 10, change options to By Weekday 
iii. Select C2, Fill to Row 10, change options to By Month 
iv. Select D2, Fill to Row 10, change options to By Year 
c. In F2 and F3 put the next two pay days 
i. Select both dates and fill to row 10 

7) Sheet "AutoFill Times" 
a. A2: 9 a 
i. AutoFill to Row 10 
b. B2: 9 p 
i. AutoFill to row 10 
c. C2: 6:00; C3: 12:00 
i. Select C3:C4,AutoFill to row 10 
ii. Reformat to go beyond the 24 hour clock ‐ [hh]:mm 
d. D2: 0:15; D3: 0:30 
i. Select D3:D4, AutoFill to row 10 
e. E2: =D2*24 
i. Reformat to a comma format 
ii. AutoFill to row 10 
   

Page 12 
 
 
 
Open " Dates‐2‐TimeSheet.xlsx" 

1) Sheet "TIMESHEET" 

2) Reported time is Time Out minus Time In 
a. F2: =(C2‐B2) + (E2‐D2) 
b. AutoFill down to Row 6 

3) Total time is the sum of all the reported times 
a. F7: AutoSum 
b. Reformat for 24 hour clock 

4) Hours Worked should be linked to Total 
a. C10: =F7 
b. Answer's wrong 
c. C10: =F7*24 
i. Remember 24 hours = 1 
d. Reformat C10 to a comma style 
 

Open "Dates‐3‐ApptDates.xlsx" 

1) Sheet "Past Appts" 
a. Simple Math, Reformat to General as needed 
i. D3: =today()‐C3 
ii. E3: =(today()‐C3)/30 
iii. F3: =(today()‐C3)/365 
b. DateDif function 
i. G3: =datedif(C3, today(),"D") 
ii. H3: =datedif(C3, today(),"M") 
iii. I3: =datedif(C3, today(),"Y") 

2) Sheet "Future Appts" 
a. D2: =C2+5 
b. E2: =Workdays(C2,5) 
c. F2: =EndOfMonth(C2,1) 
d. G2: = EndOfMonth (C2,2) 
Page 13 
 
 
 
Open  Dates‐4‐NumberofDays.xlsx" 

1) Sheet "Holidays" 
a. Select Column A 
b. Name "Holidays" 
i. Use the name box or Formulas‐>Define Name 

2) Sheet "Predict End Date" 
a. C2: =A2 + B2 
b. D2: =Workday(A2, B2) 
i. Reformat as a date 
c. E2: =Workday(A2, B2, Holidays) 
i. Reformat as a date 
d. AutoFill values for all dates 

3) Sheet "# of Days" 
a. C2: =B2‐A2 
b. D2: NetworkDays(A2, B2) 
c. E2: NetworkDays(A2, B2, Holidays) 
d. AutoFill values for all dates 
 

Page 14 
 

You might also like