Excel Weekday Function



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://buonhangthoitrang.com/

Xem thêm bài viết khác: https://buonhangthoitrang.com/tong-hop/

  • 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!!!!

    Wilhelm Schoeman June 23, 2020 1:14 pm Reply
  • 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

    futuresuperstar4life June 23, 2020 1:14 pm Reply
  • that simple conversion from number to "ddd" is so useful and yet so few videos actually mention this. THANK YOU Syed!

    Kyl J. June 23, 2020 1:14 pm Reply
  • Awesome thanks

    avanish chandra June 23, 2020 1:14 pm Reply
  • THANK YOU

    mahmoud hersh June 23, 2020 1:14 pm Reply
  • It's very simple everything in computer language is number 0 and 1 that's it

    Pramod Chaubey June 23, 2020 1:14 pm Reply
  • It helped me. Thanks.

    syed ibrahim June 23, 2020 1:14 pm Reply
  • thanks bro

    Vishnu Pv June 23, 2020 1:14 pm Reply
  • 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.

    Ashfaq Ahmed Life Style June 23, 2020 1:14 pm Reply
  • 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

    Ashfaq Ahmed Life Style June 23, 2020 1:14 pm Reply

Leave a Reply

Your email address will not be published. Required fields are marked *