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

Exercise 26

The document provides guidance on entering dates and times in Excel, detailing various recognized formats and their corresponding serial numbers. It explains how Excel automatically converts date and time entries, including handling of leap years and invalid dates. Additionally, it covers the combination of date and time formats and the limitations of Excel's date system.

Uploaded by

silvialores.urjc
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

Exercise 26

The document provides guidance on entering dates and times in Excel, detailing various recognized formats and their corresponding serial numbers. It explains how Excel automatically converts date and time entries, including handling of leap years and invalid dates. Additionally, it covers the combination of date and time formats and the limitations of Excel's date system.

Uploaded by

silvialores.urjc
Copyright
© © All Rights Reserved
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 10

2.03.

1 Entering dates
Excel recognizes as dates many different formats and automatically converts them to
Excel will apply a Date formatting to the cell. Please enter in the Date entries colu
ones are recognized date formats. The corresponding serial number will be then di
Comments column, additional information will be displayed.
Serial
Date entries Number
Enter 03-03-2020 3/3/2020 43,893
Enter 03-03-20 3/3/2020 43,893
Enter 03-mar-2020 3-Mar-20 43,893
Enter 03-mar-20 3-Mar-20 43,893
Enter 03-03 3-Mar 44,988
Enter 03/03/2020 3/3/2020 43,893
Enter 03/03/20 3-Mar-20 43,893
Enter 03/mar/2020 3-Mar-20 43,893
Enter 03/03 3-Mar 44,988
Enter 03-mar 3-Mar 44,988
Enter 03 mar 3-Mar 44,988
Enter 6-9-86 9/6/1986 31,661
Enter 29-02-2016 2/29/2016 42,429
Enter 29-02-2017 29-02-2017 Text string
Enter 2-05-1808 2-05-1808 Text string
Enter 6-9-10000 6-9-10000 Text string
Enter your birthday 7/23/2005 38,556
ent formats and automatically converts them to the corresponding serial numbers. Aditionally,
the cell. Please enter in the Date entries column the following dates as stated to see which
e corresponding serial number will be then displayed in the Serial Number column. In the
ation will be displayed.

Comments
OK, Default Date format is applied
OK, 20 turned into 20208 (2029 rule), Date format applied
OK, Date format entered is preserved
OK, Note that the year is 2020 (2029 rule)
OK, Note that Excel assumed the current year (although not displayed)
OK, Date format applied
OK, 20 turned into 2020 (2029 rule), Date format applied
OK, Date format applied
OK, Note that Excel assumed the current year (although not displayed)
OK, Note that Excel assumed the current year
OK, Note that Excel assumed the current year
OK, 86 turned into 1986 (2029 rule)
OK, as 2016 was a leap year
Treated as text, as 2017 was not a leap year
Dates before 01/01/1900 are treated as text
Dates after 31/12/9999 are treated as text
When you were born 38.555 days had passed since January 1, 1900 (corrected due to the leap year
the leap year bug)
26.2 Entering times
Excel works with times by using fractions of days, that is, extending the Excel date s
enter a time, just use one of the recognized time formats and Excel will convert it to
time entry don’t have a specific day associated with it, Excel uses a date serial num
January 0, 1900. This fictitious date of January 0, 1900 is a valid date in Excel tha
formatting a 0 value as a date). This “nonday” is used to represent times that aren’t a
Date entries Serial Number
Enter 6:00:00 6:00:00 0.2500
Enter 6:00:00 am 6:00:00 0.2500
Enter 6:00:00 AM 6:00:00 0.2500
Enter 6:00:00 pm 6:00:00 PM 0.7500
Enter 6:00 6:00 0.2500
Enter 18:00 18:00 0.7500
Enter 12:00 AM 12:00 AM 0.0000
Enter 12:00 PM 12:00 PM 0.5000
of days, that is, extending the Excel date serial number system to include decimals. To
zed time formats and Excel will convert it to the corresponding time serial number. If a
ociated with it, Excel uses a date serial number of 0, which corresponds to the nonday
anuary 0, 1900 is a valid date in Excel that corresponds to date serial number 0 (try
day” is used to represent times that aren’t associated with a particular day.
Comments
OK, Time format is preserved
OK, AM is displayed
OK, Note that Excel is not case sensitive
OK, interpreted as 18:00
OK, Time format is preserved
OK, interpreted as 06:00 PM
OK, 12:00 AM is midnight
OK, 12:00 PM is noon
26.3 Combining Dates & Times
It is possible to combine the date and time formats. Let’s see it with an example:
September 6th at 6:00 am will be stored as 42.984,25. To enter a Date/Time entry ju
space, and then a recognized time-entry format.
Serial
Date entries Number
Enter 6-9-2017 6:006-9-2017 6:00Not a number
Enter 36:00:00 36:00:00 1.50
Enter 6-9-2017 36:00:0042985.5 42985.50
Enter 10000:00:00 10000:00:00 Text String
time formats. Let’s see it with an example: September 6th, 2017 is stored as 42.984. Therefore
d as 42.984,25. To enter a Date/Time entry just using a recognized date-entry format, followed by
y format.

Wrong date entered


OK, 36 hours are a day and a half
OK, Date is adjusted because Time is larger then one day. (You'll need to manually apply Date/Time
The maximum time that you can enter into a cell is 9999:59:59
e/Time formatting)
26.4 Understanding the Date System
The purpose of this exercise is to give a clear understanding of how Excel's date
Date/Time entries column is filled with a constant number (42.993,675). The Seria
with Number formatting and three decimal places. Please change each cell format
requested in the Format to apply column to see the different displaying option
always unchanged. Date/Time Serial
Format to apply entries Number
15/09/2017 9/15/2017 42,993.675
15-9-17 16:12 15-9-17 16:12 42,993.675
15-9-17 4:12:PM ### 42,993.675
Any number format 42993.68 42,993.675

Negative numbers are not valid dates and, therefore, they can't be formatted as d
2.958.465,9999... (which corresponds to December 31st, 9999 23:59:59. If you
2.958.465,999...] range you'll get a display error and a series of hash marks (such as
Date/Time Serial
Format to apply entries Number
Any Date/Time format 25-12-99 -5.0000
Any Date/Time format 1/1/10000 ###
Any Date/Time format 12/31/9999 ###

1. Copy the 26.1, 26.2, 26.3 and 26.4 worksheets to a new Workbook. Save it as Ex
r understanding of how Excel's date system handles date and time information. The
tant number (42.993,675). The Serial Number column just displays that same number
ces. Please change each cell formatting in the Date/Time entries column to the one
see the different displaying options. Please note that the cell's content remains

erefore, they can't be formatted as dates. The same applies to numbers greater than
ember 31st, 9999 23:59:59. If you try to format as date numbers outside the [0-
r and a series of hash marks (such as #########) will be displayed.

ets to a new Workbook. Save it as Exercise26.xlsx.

You might also like