0% found this document useful (0 votes)
33 views6 pages

CIS 2640 Excel 13 - Time and Time Functions

This document discusses time formatting and functions in Microsoft Excel. It explains that time is stored as a decimal number representing the fraction of a 24-hour day. It shows how to calculate time differences between cells and get the current date and time using functions like NOW(). Simple date and time component functions like HOUR(), MINUTE(), etc. are demonstrated. The document concludes with exercises on using AutoFill to efficiently create time schedules with incremental times and spanning multiple days of the week.

Uploaded by

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

CIS 2640 Excel 13 - Time and Time Functions

This document discusses time formatting and functions in Microsoft Excel. It explains that time is stored as a decimal number representing the fraction of a 24-hour day. It shows how to calculate time differences between cells and get the current date and time using functions like NOW(). Simple date and time component functions like HOUR(), MINUTE(), etc. are demonstrated. The document concludes with exercises on using AutoFill to efficiently create time schedules with incremental times and spanning multiple days of the week.

Uploaded by

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

ECH 13: Time and time

Functions
Book: Microsoft Excel 2016 Data Analysis and Business Modeling
Time Format

 Time Format
 8:30 pm
 8:30 p.m.
 20:30
 8:30:25 pm
 How is time stored in Excel?
 2:10 am  (2h * 60min + 10 min) / (24h * 60 min) = 0.090277
 What about 2:10:30 am?

Dr. K. Chen, 2015 2


Time Difference and Current Time

 Cell A4 is =a2 – a3
 Screenshot (left): A4 in Time format
 Screenshot (right): A4 in General format
 Current date and time:
 =now()  5/19/2015 21:17
 =now() – today()  21:17
 Calculate time difference:

Dr. K. Chen, 2015 3


Simple Date and Time Functions

 See the screenshots on right for


year(), month(), day(), hour(),
minute() and second() functions.

 Q: What’s wrong with the sum of

Dr. K. Chen, 2015 4


Exercises: AutoFill is your friend

 Exercise 1: create a time schedule with a 30-minute


increment (see screenshot on right).
1. Create values for a1 and a2.
2. Highlight a1 and a2
3. Drag lower-right corner to copy to other cells
 Exercise 2: Create a weekly schedule by using autofill
for both time and day

Dr. K. Chen, 2015 5


Exercises

Dr. K. Chen, 2015 6

You might also like