Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Filter Data Based on Date in Excel
  • How to calculate average last N values in a table in Excel
  • Everything about Charts in Excel
  • Error Bars in Excel
  • Conditional Formatting Icon Sets Examples in Excel

References

  • Find Closest Match in Excel Using INDEX, MATCH, ABS and MIN functions
  • How to get relative row numbers in a range in Excel
  • How to use Excel INDIRECT Function
  • Basic INDEX MATCH approximate in Excel
  • How to get first row number in range in Excel

Data Validations

  • Excel Data validation must contain specific text
  • Excel Data validation must begin with
  • Excel Data validation allow weekday only
  • Excel Data validation date in next 30 days
  • Excel Data validation only dates between

Get first day of previous month in Excel

by

To get the first day of the previous month for a given date, you can use a simple formula based on the EOMONTH function.

Formula

=EOMONTH(date,-2)+1

Explanation

In the example shown, the formula in cell B5 is:

=EOMONTH(B5,-2)+1

In the example shown, months is supplied as -2, which causes EOMONTH to return 4/30/2015. Then, 1 day is added to get 5/1/2015.

The EOMONTH function returns the last day of a month based on a given date. The 2nd argument is months, which specifies how many months in the future or past to move before returning the last day. By traveling back 2 months, then adding one day, we can calculate the first day of the previous month from any given date.

 

Post navigation

Previous Post:

DECIMAL function: Description, Usage, Syntax, Examples and Explanation

Next Post:

AVERAGE function: Description, Usage, Syntax, Examples and Explanation

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • IF function: Description, Usage, Syntax, Examples and Explanation
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation
  • Extract multiple matches into separate rows in Excel
  • Nested IF function example in Excel

Date Time

  • Check If Two Dates are same month in Excel
  • MONTH function: Description, Usage, Syntax, Examples and Explanation
  • Display Days in month in Excel
  • Calculate days remaining in Excel
  • Convert time to time zone in Excel

Grouping

  • Group times into 3 hour buckets in Excel
  • Group times into unequal buckets in Excel
  • Group numbers with VLOOKUP in Excel
  • Categorize text with keywords in Excel
  • If cell contains one of many things in Excel

General

  • Zoom Worksheet in Excel
  • How to get Excel workbook path only
  • How to calculate project complete percentage in Excel
  • AutoRecover file that was never saved in Excel
  • Common Errors in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning