Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:05,400 --> 00:00:10,920
In this section of the calls for going to delve into date and time in a little bit more detail, we're
2
00:00:10,920 --> 00:00:15,360
going to take a look at some date and time functions a bit later on in this section.
3
00:00:15,360 --> 00:00:21,690
But in this introductory lesson, I just want to make sure that we all understand the theory behind
4
00:00:21,690 --> 00:00:25,800
dates and times in Excel because it does work a little bit different.
5
00:00:25,830 --> 00:00:32,820
So on this worksheet, I have a small table with three column headings short dates, long date and time.
6
00:00:33,630 --> 00:00:40,920
Now, currently, I don't have any date or time formatting applied to these numbers, and this is the
7
00:00:40,920 --> 00:00:44,100
first rule when it comes to dates and times in Excel.
8
00:00:44,640 --> 00:00:48,690
They are essentially just plain numbers underneath.
9
00:00:48,720 --> 00:00:53,400
They become dates and times when we apply the appropriate formatting.
10
00:00:53,520 --> 00:00:59,010
So if you've ever received a spreadsheet from a colleague or a client and you've looked in the date
11
00:00:59,010 --> 00:01:04,380
column and you see numbers which look something similar to this and you've wondered why those were there,
12
00:01:04,770 --> 00:01:08,730
it's because this column doesn't have date formatting applied to it.
13
00:01:08,760 --> 00:01:12,930
If I take a look up on the home ribbon in the number group, you can see that currently I just have
14
00:01:12,930 --> 00:01:14,670
general formatting applied.
15
00:01:15,330 --> 00:01:21,870
So whilst these are dates, they're not displaying correctly because I don't have date formatting applied.
16
00:01:21,960 --> 00:01:24,450
Now what exactly are these numbers?
17
00:01:24,570 --> 00:01:33,210
Well, the way the Excel works is that it takes the first of the first 9500 as day number one and all
18
00:01:33,210 --> 00:01:36,120
days are numbered from that point, respectively.
19
00:01:36,240 --> 00:01:43,230
So the numbers that you see in here are basically the number of days past the 1st of January 9500.
20
00:01:43,290 --> 00:01:48,360
And if you have incorrect formatting applied to date cells, you're going to see that underlying number
21
00:01:48,360 --> 00:01:50,280
as opposed to the actual date.
22
00:01:50,400 --> 00:01:55,410
Now notice if I select this column of numbers, go to my numbering dropdown.
23
00:01:55,830 --> 00:01:58,860
I have two options in here short date or long date.
24
00:01:59,220 --> 00:02:04,050
So let's start out by applying short date format and now those look a little bit better.
25
00:02:04,080 --> 00:02:07,620
We could do a similar thing, but apply a long date format as well.
26
00:02:07,630 --> 00:02:09,270
So we have those same numbers.
27
00:02:09,450 --> 00:02:12,460
Let's go to the dropdown and we can apply long date format.
28
00:02:12,480 --> 00:02:17,490
I need to make this column a little bit wider by double clicking, and now I get the longer version
29
00:02:17,490 --> 00:02:18,120
of the date.
30
00:02:18,270 --> 00:02:23,190
And there are tons of different date and time formats that we can use, which are going to take more
31
00:02:23,190 --> 00:02:24,750
of a look at in the next lesson.
32
00:02:24,850 --> 00:02:30,240
Now, in third column, just here we have some times and things look a little bit different from the
33
00:02:30,240 --> 00:02:33,510
dates, but they are effectively still numbers.
34
00:02:34,200 --> 00:02:39,300
But the difference with times is that when we don't have time formatting applied, which we don't in
35
00:02:39,300 --> 00:02:42,330
this column, we just have general formatting applied again.
36
00:02:42,450 --> 00:02:45,450
All times are a fraction of one.
37
00:02:45,570 --> 00:02:46,920
So let me show you what I mean by that.
38
00:02:47,070 --> 00:02:50,680
I've got this little fractions column just here, and I've just added some numbers.
39
00:02:50,710 --> 00:02:56,430
We have zero then point to five point three point four point five all the way up to one.
40
00:02:56,580 --> 00:03:03,720
Now, if I just select these and let's just make a copy of those cells if I apply time formatting to
41
00:03:03,720 --> 00:03:04,380
these.
42
00:03:05,770 --> 00:03:10,090
Like so you're going to see what those fractions equate to.
43
00:03:10,270 --> 00:03:19,240
So 12 am, according to Excel, is zero point two five, which is essentially a quarter of a 24 hour
44
00:03:19,240 --> 00:03:19,690
period.
45
00:03:19,690 --> 00:03:27,830
To excel is six am point three is seven twelve point five, so half way through the day is 12 pm.
46
00:03:28,210 --> 00:03:31,570
And then when we get to number one, we're back to 12 am.
47
00:03:31,780 --> 00:03:37,480
So Excel stores times as values between zero and one.
48
00:03:37,510 --> 00:03:39,190
They're effectively fractions.
49
00:03:39,970 --> 00:03:45,910
So again, if you see a spreadsheet that has times that looks something like this, this is what those
50
00:03:45,910 --> 00:03:47,050
numbers represent.
51
00:03:47,200 --> 00:03:49,830
Now let's apply the correct formatting to these as well.
52
00:03:49,840 --> 00:03:55,780
I'm going to press control, shift down Arrow to select all of the data up to the dropdown, and this
53
00:03:55,780 --> 00:03:57,610
time we're going to use time.
54
00:03:57,610 --> 00:03:59,710
And now those times look a little bit better.
55
00:03:59,920 --> 00:04:05,170
So that is the basis of how Excel stores dates and times in your spreadsheet.
56
00:04:05,320 --> 00:04:11,290
They're stored as values and we get them to look like dates and times by applying the correct formatting.
5998
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.