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

Data Analysis

  • Conflicting Multiple Conditional Formatting Rules in Excel
  • How to Sort by Color in Excel
  • How to create dynamic reference table name in Excel
  • How to Use Solver Tool in Excel
  • Get column index in Excel Table

References

  • How to get relative row numbers in a range in Excel
  • Complete List of Excel Lookup and Reference Functions, References and Examples
  • Extract data with helper column in Excel
  • How to use Excel INDIRECT Function
  • How to create dynamic named range with OFFSET in Excel

Data Validations

  • Excel Data validation specific characters only
  • Excel Data validation require unique number
  • Excel Data validation date in next 30 days
  • Excel Data validation only dates between
  • Excel Data validation no punctuation

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

  • How to use Excel OR Function
  • OR function Examples in Excel
  • Extract multiple matches into separate rows in Excel
  • AND function: Description, Usage, Syntax, Examples and Explanation
  • Complete List of Excel Logical Functions, References and Examples

Date Time

  • NETWORKDAYS function: Description, Usage, Syntax, Examples and Explanation
  • Get days before a date in Excel
  • Add workdays no weekends in Excel
  • Get day name from date in Excel
  • Calculate number of hours between two times in Excel

Grouping

  • Map inputs to arbitrary values in Excel
  • Group times into unequal buckets in Excel
  • How to randomly assign data to groups in Excel
  • How to randomly assign people to groups in Excel
  • Group arbitrary text values in Excel

General

  • Spell Check in Excel
  • Basic text sort formula in Excel
  • How to count total number of cells in a rectangular range in Excel
  • How to generate random number between two numbers in Excel
  • How to get original price from percentage discount in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning