11.2 C
London
Friday, June 6, 2025
HomeSoftware TutorialsExcelHow to Get First Day of Month in Excel (With Examples)

How to Get First Day of Month in Excel (With Examples)

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

You can use one of the following formulas to get the first day of the month for a date in Excel:

Formula 1: Use DAY() Function

=A2-DAY(A2)+1

Formula 2: Use EOMONTH() Function

=EOMONTH(A2,-1)+1

Both formulas will return the first day of the month for the date in cell A2.

The following examples show how to use each formula in practice with the following dataset in Excel:

Example 1: Get First Day of Month Using DAY()

We can type the following formula into cell C2 to get the first day of the month for the date in cell A2:

=A2-DAY(A2)+1

We can then drag and fill this formula down to each remaining cell in column C:

Excel get first day of month using DAY() function

Column C now displays the first day of the month for each date in column A.

Here’s how this formula works:

  • The DAY() function returns the day of the month between 1 and 31.
  • Thus, A2 – DAY(A2) returns the last day of the previous month.
  • Then, we add one to get the first day of the month for the date in cell A2.

Example 2:Get First Day of Month Using EOMONTH()

We can type the following formula into cell C2 to get the first day of the month for the date in cell A2:

=EOMONTH(A2,-1)+1

We can then drag and fill this formula down to each remaining cell in column C:

Excel get first day of month using EOMONTH() function

Column C now displays the first day of the month for each date in column A.

Here’s how this formula works:

  • The EOMONTH() function returns the last day of the month for a date.
  • The function EOMONTH(A2, -1) returns the last day of the previous month.
  • Then, we add one to get the first day of the month for the date in cell A2.

You can find the complete documentation for the EOMONTH() function in Excel here.

Additional Resources

The following tutorials explain how to perform other common operations in Excel:

How to Count by Month in Excel
How to Calculate Average by Month in Excel
How to Convert Date to Month and Year Format in Excel

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories