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

Data Analysis

  • How to create dynamic reference table name in Excel
  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • Understanding Anova in Excel
  • Working With Tables in Excel
  • Example of COUNTIFS with variable table column in Excel

References

  • Find closest match in Excel
  • How to use Excel MATCH Function
  • Extract data with helper column in Excel
  • How to get first row number in range in Excel
  • Two-way lookup with VLOOKUP in Excel

Data Validations

  • Excel Data validation whole percentage only
  • Excel Data validation unique values only
  • Data validation must not exist in list
  • Excel Data validation require unique number
  • 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.

Worked Example:   Display Days in 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:   Count dates in current month in Excel

 

Post navigation

Previous Post:

Number and Text Filters Examples in Excel

Next Post:

Convert date string to date time 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

  • FALSE function: Description, Usage, Syntax, Examples and Explanation
  • OR function Examples in Excel
  • OR function: Description, Usage, Syntax, Examples and Explanation
  • IF, AND, OR and NOT Functions Examples in Excel
  • How to use Excel OR Function

Date Time

  • Calculate time difference in hours as decimal value in Excel
  • Add workdays no weekends in Excel
  • WORKDAY function: Description, Usage, Syntax, Examples and Explanation
  • Convert text timestamp into time in Excel
  • Convert text date dd/mm/yy to mm/dd/yy in Excel

Grouping

  • Categorize text with keywords in Excel
  • Map text to numbers in Excel
  • Calculate conditional mode with criteria in Excel
  • Group times into 3 hour buckets in Excel
  • How to randomly assign people to groups in Excel

General

  • Automatically fill series of cells in Excel using AutoFill
  • How to set or clear a print area in Excel Worksheet
  • Split Cell Content Using Text to Columns in Excel
  • Excel Autofill Cell Ranges, Copy, Paste
  • Check if multiple cells have same value in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning