Skip to main content

How to find first / last day or working day of a month in Excel?

Do you know how to find the first or last day and the first or last working day of a given month date in a worksheet? For example, I have a date 2014/5/21, and now I want to know the first and last day of this month, that is 2014/5/1 and 2014/5/31, to get the first business day is 2014/5/1 and the last business day is 2014/5/30. This article will describe how to extract the first or last day and first or last working day in Excel of a given month.

Find the first or last day of a month with formulas

Find the first or last working day of a month with formulas


arrow blue right bubbleFind the first or last day of a month with formulas

To return the first day of a month, you can use this Date function, please do as these:

1. Enter this formula =DATE(YEAR(B1),MONTH(B1),1) into a blank cell (B1 contains the date that you want to use), see screenshot:

doc-find-first-day1

2. And press Enter key, you will get the first day of this month.

doc-find-first-day1

Note: In order to get the last day of this month, you need to apply this formula: =DATE(YEAR(B1),1+MONTH(B1),1)-1, see screenshots:

doc-find-first-day3
-1
doc-find-first-day4

arrow blue right bubbleFind the first or last working day of a month with formulas

In certain situation, you may want to know which day is the first or last business day of a given month date, and the following formulas can help you quickly calculate the results as you need.

1. To return the first working day of a month:

Apply this formula: =WORKDAY(DATE(YEAR(B1),MONTH(B1),1)-1,1) into a blank cell (B1 has the date that you want to use), and then press Enter key, the date of first working day will be calculated. See screenshots:

doc-find-first-day3
-1
doc-find-first-day4

2.To return the last working day of a month:

Please enter this formula: =WORKDAY(DATE(YEAR(B1),MONTH(B1)+1,1),-1) to extract the last working days of a given month date, see screenshots:

doc-find-first-day3
-1
doc-find-first-day4

Related articles:

How to add / subtract days / months / years to date in Excel?

How to count the number of specific weekdays between two dates in Excel?

How to count / calculate the number of days between two dates in Excel?

How to count / calculate weeks / months / years between two dates in Excel?

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (5)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Erster Arbeitstag eines Monats ist falsch, wenn ich micht nicht vertippt habe.
Z.B. 2019, da ist es der 02.01.2019, nicht der 01.01.2019.
This comment was minimized by the moderator on the site
Hello, Klara,
2019-1-1 is Tuesday, it is working day.
https://www.extendoffice.com/images/stories/comments/comment-skyyang/doc-first-work-day.png
If you want to exclude some holidays, such as New Year's day. you just need to apply the below formula:
=WORKDAY(DATE(YEAR(B2),MONTH(B24),1)-1,1,Holidays)
Note: Please change Holidays to the list of cell references which contain the holidays date.

Please try, hope it can help you!
This comment was minimized by the moderator on the site
what if we have two days off (Friday & Saturday) first working day is Sunday and last is Thursday
This comment was minimized by the moderator on the site
بدل هذاXNUMX
تضع بين تنصيص
"0000110"
الصفر دوام والواحد عطلة ويبدأ التعداد من يوم الاثنين
This comment was minimized by the moderator on the site
Team, please respond on this
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations