- Versie 15.14 van TeamViewer is verschenen. Met dit programma kunnen andere computers via een veilige vpn-verbinding op afstand worden beheerd. Die verbinding loopt via de servers van TeamViewer.
- Google runs on Microsoft Windows IIS/3.0. Google.com.au reported as if it ran on IIS/3.0 and google.com on Apache/0.8.4 (on Linux). The announcement of CADIE was made on 31 March 2009 11:59 pm by the CADIE Team, not on April 1. The announcement on the Google blog was made at 2009/04/01 12:01:00 am.
This Excel tutorial explains how to use the Excel WEEKDAY function with syntax and examples.
Description
Office Product Release: License Type: Office Version: Build: Part Number: Download: Office 365: Subscription: 16.46.0: 1202 64-bit Universal: Subscription.
The Microsoft Excel WEEKDAY function returns a number representing the day of the week, given a date value.
The WEEKDAY function is a built-in function in Excel that is categorized as a Date/Time Function. It can be used as a worksheet function (WS) and a VBA function (VBA) in Excel. As a worksheet function, the WEEKDAY function can be entered as part of a formula in a cell of a worksheet. As a VBA function, you can use this function in macro code that is entered through the Microsoft Visual Basic Editor.
Syntax
The syntax for the WEEKDAY function in Microsoft Excel is:
Parameters or Arguments
Optional. It determines the day to use as the first day of the week in the calculations.
Worksheet Function
The return_value parameter, when used as a worksheet function, can be any of the following values:
Value | Explanation | Version |
---|---|---|
1 | Returns a number from 1 (Sunday) to 7 (Saturday). This is the default if parameter is omitted. | |
2 | Returns a number from 1 (Monday) to 7 (Sunday). | |
3 | Returns a number from 0 (Monday) to 6 (Sunday). | |
11 | Returns a number from 1 (Monday) to 7 (Sunday). | * Introduced in Excel 2010 |
12 | Returns a number from 1 (Tuesday) to 7 (Monday). | * Introduced in Excel 2010 |
13 | Returns a number from 1 (Wednesday) to 7 (Tuesday). | * Introduced in Excel 2010 |
14 | Returns a number from 1 (Thursday) to 7 (Wednesday). | * Introduced in Excel 2010 |
15 | Returns a number from 1 (Friday) to 7 (Thursday). | * Introduced in Excel 2010 |
16 | Returns a number from 1 (Saturday) to 7 (Friday). | * Introduced in Excel 2010 |
17 | Returns a number from 1 (Sunday) to 7 (Saturday). | * Introduced in Excel 2010 |
VBA Function
The return_value parameter, when used as a VBA function, can be any of the following values:
Value | Explanation |
---|---|
vbUseSystemDayOfWeek | Returns a number from 1 to 7 and uses your system settings to determine the first day of the week |
vbMonday | Returns a number from 1 (Monday) to 7 (Sunday). |
vbTuesday | Returns a number from 1 (Tuesday) to 7 (Monday). |
vbWednesday | Returns a number from 1 (Wednesday) to 7 (Tuesday). |
vbThursday | Returns a number from 1 (Thursday) to 7 (Wednesday). |
vbFriday | Returns a number from 1 (Friday) to 7 (Thursday). |
vbSaturday | Returns a number from 1 (Saturday) to 7 (Friday). |
vbSunday | Returns a number from 1 (Sunday) to 7 (Saturday). |
Microsoft Word For Mac Version 15.13 32
Returns
The WEEKDAY function returns a numeric value.
Applies To
- Excel for Office 365, Excel 2019, Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000
Type of Function
Microsoft Word For Mac Version 15.13 365
- Worksheet function (WS)
- VBA function (VBA)
Example (as Worksheet Function)
Let's look at some Excel WEEKDAY function examples and explore how to use the WEEKDAY function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following WEEKDAY examples would return:
Example (as VBA Function)
The WEEKDAY function can also be used in VBA code in Microsoft Excel.
Let's look at some Excel WEEKDAY function examples and explore how to use the WEEKDAY function in Excel VBA code:
In this example, the variable called LWeekday would now contain the value of 2.
Frequently Asked Questions
Microsoft Word Version 15.13.3
Question: Is there a LIKE function in Excel similar to the one in Access? I'm trying to write a formula equivalent to the following:
Microsoft Word For Mac Version 15.13 32-bit
Where cell D14 is a date value formatted as Saturday, August 27, 2005.
Microsoft Word For Mac Version 15.13 3d
Answer: Since your value in cell D14 is a date value, you can use the WEEKDAY function to determine which day of the week it is. In this case, you are looking for a Saturday. The WEEKDAY function will return a value of 7 when the date falls on a Saturday.
Try using the following formula: