Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
It's time now to do exercise for.
And in this exercise, I just want you to practice some of those super for date and time formulas.
So we have a date in Column A. And using this date, I'd like you to complete the rest of these fields.
So I want you to extract from this date, the month, the day, the year, the weekday number, the
weekday name, the month name.
And then finally, I'd like you to add a formula into column age, which checks if the day is a Friday
and if it is a Friday, we want the output to be yes.
If it isn't a Friday, we want the output to be no.
The other thing to remember with this is that if the result that you want returned is text, for example,
the weekday name, remember you need to use a slightly different formula.
Now's the time to pause the video and give that a go.
If you'd like to see my answer, then please keep watching.
So the first thing we're going to do here is we're going to extract the month from the date that we
have in Column eight.
So for this, we use the very simple month function.
It only has one argument, and that is the cell that contains the date.
In this case, a full close, the bracket hit enter, and it's extracted the number two from this date.
This time we want to extract the day.
So for this, we can use the day function.
Again, one simple argument close the bracket, enter.
And as you can imagine, we can also extract the year.
We can select a four.
Close the bracket and enter now.
For the next one, we want to extract the weekday number.
So we're going to use the function called weekday.
Again, we need to select the serial number.
So the cell that contains the date and then we need to tell Excel how we number add days of the week.
So if you number one to seven Sunday through Saturday, you're going to select the first option.
Now I generally tend to number my weeks as Monday is one, Sunday is seven, so I'm going to go for
option to close the bracket.
Enter.
And now I get my weekday number.
Now for the next two, we want to return the weekday name.
So if it's Monday, Tuesday, Wednesday and also the month name as well January, February, March now
because we want text to be returned, we need to use the text function.
Our first argument is the value, so that's going to be the cell that contains the date.
And then we need to specify the formula.
So this one is going to be the weekday name.
Now I want this to show in the short weekday format.
So I'm going to open up quote marks and type in three days.
Close those quote marks.
Close the bracket.
Hit Enter and now I get my weekday name.
I need to do something very similar if I want to extract the month name as well.
So we're going to start with the text function.
The value is our date, and then we specify the format that we want our month to be in.
So once again, I'm going to do the short date format.
So MRM quote marks close the bracket, hit enter.
And then the final thing I wanted you to do in Column H is work out if this day is a Friday.
And how can we do that?
Well, we can use the weekday number because I have numbered my weekdays one to seven.
I know that Friday equals five.
So all I need to do in here is add in an if formula.
So if the week day number is equal to five, if that's true, then yes, it is a Friday.
So our result is going to be yes.
If that's false, then no, it's not Friday.
Close the bracket, hit enter and you can see that for that first one is a Friday.
And so we have yes in that.
So now I have all of these formulas.
If I want to copy them down for the rest of this table, I can simply select them all and double click
to copy those down.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.