Excel 2016 Weekday Function. In this video, you will learn how to make use of weekday function. Weekday function is used to find the day of a particular date. This function can be used in a variety of ways when tracking the day for the date. While dealing with sales data, analytics data, research data building an attendance sheet oh working with order sheets you will find this function very handy.
The function uses two parameters, first one is mandate which is a serial number needs to be a date. If you pass a string or a text value in this position it may not work as desired. The second parameter is a return type. This will help you to decide when to start your week day using return type number values. This one is an optional parameter, and hence, if you do not provide anything by default it will start the weekday from Sunday and goes through Saturday.
Microsoft Website Link for Weekday reference:
This video will also demonstrate IsText and IsNumber functions briefly. Don’t worry about these functions at this time, they will be discussed in more detail and thoroughly explained in the upcoming lessons.
By the end of this video, you should be able to use weekday function thoroughly in your Excel projects.
In case you get stuck, write your questions below in the comments section and I will be happy to help you.
I hope that you’re enjoying learning Excel through this Excel learning series with Syed. I request you to share these videos with anyone who desires to learn Excel from scratch.
Do subscribe to the channel and enable notifications by clicking on the bell icon to receive updates about new videos as and when they are added to keep up with Excel Learning.
Download Practice File using:
This applies to:
Excel 2007, Excel 2010, Excel 2013, Excel 2016, Office 365 and above
@msexcel #excelLearningSeries #excel #excel2016 #excelDateFunction #HowWeExcel
Nguồn: https://thamdinhgiadonga.com/
Xem thêm bài viết khác: https://thamdinhgiadonga.com/tong-hop/
Xem thêm Bài Viết:
- Những ưu thế của khu công nghiệp Gia Thuận thu hút các doanh nghiệp
- My Top 75 Kpop B-Sides of 2019!!
- (Late Shift) Đạo diễn Độ Tày phá đảo 4 lần game đồ hoạ siêu thực, ngập tràn cảnh nóng.
- Chèn hình ảnh, logo, chữ chìm (Chèn Watermark) vào Word
- Cách vào BIOS Setup và Boot Menu cho Laptop Asus | ASUSPRO
need to know what is the total number of workdays between two dates – why would one need to know what day a date is?Your description is not aligned with you video!!!!
What do you mean as a proper date… I have it as a proper date and it's not working. I'm trying to use weeknum and its giving me a date in the 1900s instead of a week number
that simple conversion from number to "ddd" is so useful and yet so few videos actually mention this. THANK YOU Syed!
Awesome thanks
THANK YOU
It's very simple everything in computer language is number 0 and 1 that's it
It helped me. Thanks.
thanks bro
I have created this function to get first date of week as Thursday in ms access form and reports, but this function return first day of week in las month, but I need it will return only current month dates, if current week first day is in last month then retrun first day of week as 1st date of week in current month.
‘current output
‘when 1-10-2018 is selected from date picker it returns 27-09-2018, which is first date of week in last month but I need it will return 1st of month which is selected in textbox.
Function GetFirstofWeek(dtDate As Date)
'GetFirstofWeek = DateAdd("d", dtDate, -(Weekday(dtDate)) + 1)
' Excel formula for this function which is perfect and may be converted to function as required ‘=MAX(B2-WEEKDAY(B2,14)+1, EOMONTH(B2, -1)+1)
GetFirstofWeek = DateAdd("d", dtDate, -(Weekday(dtDate, vbThursday) – 1))
End Function
'For last day of week
Function GetLastofWeek(dtDate) as date
'=MIN(B2+(7-WEEKDAY(B2,14)), EOMONTH(B2, 0))
GetLastofWeek = DateAdd("d", dtDate, (7 – (Weekday(dtDate, vbWednesday)) + 1))
End Function
In this function last date of week must be in current month, if month end on first date of then week will be closed and last date of week will be 1st date of week or days remaining in current week.
I have question to ask,
I want to display first and day of week, week starts from Thursday to Wednesday, if the start date of month is on tuesday then first date of week will be tuesday of the current month, same case on last date of week, if week ends on monday then last date of week will be monday of only in current month, without going to next month last week day.
Out expected
For last month
1-09-2018 to 05-09-2018
27-09-2018 to 30-09-2018
For current month
1-10-2018 to 3-10-2018
4-10-2018 to 10-10-2018
11-10-2018 to 17-10-2018
18-10-2018 to 24-10-2018
25-10-2018 to 31-10-2018