Excel Formula: Get First Day of Month from Month Name
Let’s say there is a table containing the year and the month text name for you to get the first day of the month, which formula can you use in Excel?
Syntaxt and Arguments
|Month_name: the month text name that you want to get the first day of. It can be both of the full name or abbreviation of the month.|
|Year: the year that are used in the date.|
The formula returns to a numeric value. As date is stored as number in Excel, you can format the formula result as date for reading clearly.
If the month text name is invalid or incorrect, the formula returns the error value #VALUE!.
How this formula works
In cell B3 is the month text name, in cell C3 is the year you want to use, to get the first day based on the given month name and year, please use below formula:
Press Enter key to get the result, then drag auto fill handle down to the cells which need this formula.
Keep selecting the results, press Ctrl + 1 to display the Format Cells dialog, under the Number tab, click Date from the Category list, then in the Type section, choose one date type as you need.
Click OK, the results are shown in date format.
Using & connector to connect the day, month and year, then plus 0 to change the value from text to number which will not change the actual value. Also you can use the formula like this：
- Count days of month
This tutorial provides formulas to count the total days of the month based on given date.
- Count days until expiration date
To count the days between today and each expiration date in Excel by formula
- Display current date or time
This tutorial provides formulas to show the current date or time in Excel.
- Create weekly date range
In this tutorial, it provides a formula to quickly get the weekly date range in Excel.
- Excel WEEKNUM Function
Returns the week number of the given date in a year
- Excel WORKDAY Function
Adds workdays to the given start date and returns a workday
- Excel MONTH Function
The MONTH is used to get the month as integer number (1 to 12) from date
- Excel DAY Function
DAY function gets the day as a number (1 to 31) from a date
- Excel NOW Function
Get the current time and date