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

Data Analysis

  • How to count table rows in Excel
  • How to create Gauge Chart in Excel
  • Reverse List in Excel
  • How To Sort One Column or Multiple Columns in Excel
  • Understanding Pivot Tables in Excel

References

  • How to get address of named range in Excel
  • Two-way lookup with VLOOKUP in Excel
  • How to get last row in numeric data in Excel
  • Offset in Excel
  • Get nth match with INDEX / MATCH in Excel

Data Validations

  • Excel Data validation allow weekday only
  • Excel Data validation exists in list
  • Excel Data validation must begin with
  • Excel Data validation specific characters only
  • Excel Data validation date in next 30 days

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.

Worked Example:   Average response time per month in Excel

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.

Worked Example:   Get last weekday in month in Excel

 

Post navigation

Previous Post:

Check If Two Dates are same month in Excel

Next Post:

Get day name from date in Excel

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 AND Function
  • How to use Excel XOR Function
  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • Return blank if in Excel
  • How to use IFS function in Excel

Date Time

  • Get first Monday before any date in Excel
  • Get work hours between dates and times in Excel
  • Basic Overtime Calculation Formula in Excel
  • Convert decimal minutes to Excel time
  • How to calculate Next working/business day in Excel

Grouping

  • If cell contains one of many things in Excel
  • Group times into unequal buckets in Excel
  • Map text to numbers in Excel
  • Group times into 3 hour buckets in Excel
  • Group arbitrary text values in Excel

General

  • Flash Fill in Excel
  • Common Errors in Excel
  • How to calculate percentage discount in Excel
  • Basic numeric sort formula in Excel
  • Find, Select, Replace and Go To Special in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning