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

Data Analysis

  • How to calculate correlation coefficient Correlation in Excel
  • How To Compare Two Lists in Excel
  • How To Create Pareto Chart in Excel
  • Excel Line Chart
  • How to sum a total in multiple Excel tables

References

  • Extract data with helper column in Excel
  • Last row number in range
  • How to get last row in numeric data in Excel
  • How to use Excel LOOKUP Function
  • How to use Excel VLOOKUP Function

Data Validations

  • Excel Data validation no punctuation
  • Excel Data validation specific characters only
  • Excel Data validation date in specific year
  • Excel Data validation require unique number
  • Excel Data validation must contain specific text

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

  • XOR function: Description, Usage, Syntax, Examples and Explanation
  • Check multiple cells are equal in Excel
  • Invoice status with nested if in Excel
  • How to use Excel XOR Function
  • IFS function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Calculate total hours that fall between two times in Excel
  • WORKDAY.INTL function: Description, Usage, Syntax, Examples and Explanation
  • Generate series of dates by weekends in Excel
  • How to determine year is a leap year in Excel
  • NETWORKDAYS function: Description, Usage, Syntax, Examples and Explanation

Grouping

  • Group arbitrary text values in Excel
  • Map text to numbers in Excel
  • Map inputs to arbitrary values in Excel
  • If cell contains one of many things in Excel
  • Running count group by n size in Excel

General

  • How to test a range for numbers in Excel
  • How to calculate profit margin percentage in Excel
  • How to get original number from percent change in Excel
  • Count cells that contain errors in Excel
  • Cell References: Relative, Absolute and Mixed Referencing Examples
© 2026 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning