Note: The other languages of the website are Google-translated. Back to English

Excel Formula: Get First Day of Month from Month Name

doc convert date to julia 1

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?

If you want to follow along with this tutorial, please download the example spreadsheet.
doc convert date to julia 1

Generic formula:

(1&month_name&year)+0

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.

Return Value

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.

Error Value

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:

=(1&B3&C3)+0

Press Enter key to get the result, then drag auto fill handle down to the cells which need this formula.
doc convert date to julia 1 doc convert date to julia 1

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.
doc convert date to julia 1

Click OK, the results are shown in date format.
doc convert date to julia 1

Explanation

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:

(1&month_name&year)*1

Or

(1&month_name&year)/1

Relative Formulas

Relative Functions


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Rate this post:
0  Characters
Suggested Locations