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

Data Analysis

  • Move chart to a separate worksheet in Excel
  • How To Create Pareto Chart in Excel
  • How To Compare Two Lists in Excel
  • How To Insert and Customize Sparklines in Excel
  • How to add Trendline to a chart in Excel

References

  • How to use Excel FORMULATEXT function
  • Lookup entire row in Excel
  • Approximate match with multiple criteria in Excel
  • Count unique text values with criteria
  • How to get last row in text data in Excel

Data Validations

  • Excel Data validation whole percentage only
  • Excel Data validation must begin with
  • Excel Data validation allow weekday only
  • Excel Data validation exists in list
  • Excel Data validation only dates between

Get day from date in Excel

by

This tutorial show how to Get day from date in Excel using the example below.

If you need to extract the day from a date, you can use the DAY function.

Formula

=DAY(date)

Explanation of how this formula works

In the generic form of the formula above, the date must be in a form that Excel recognizes as a valid date.

Worked Example:   Display Days in month in Excel

Here’s how the formula works:

The DAY function takes just one argument, the date from which you want to extract the day. In the example, the formula is:

=DAY(B4)

B4 contains a date value for January 5, 2016. The DAY function returns the number 5 representing the day component of the date.

Worked Example:   Get week number from date in Excel

Note that you can use DAY to extract the day from a day entered as text:

=DAY("1/5/2016")

But this can produce unpredictable results on computers using different regional date settings. In general it’s better (and more flexible) to supply an address to a cell that already contains a valid date value as the argument for DAY.

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

  • Nested IF function example in Excel
  • How to use Excel XOR Function
  • SWITCH function example in Excel
  • IF function: Description, Usage, Syntax, Examples and Explanation
  • Complete List of Excel Logical Functions, References and Examples

Date Time

  • Calculate date overlap in days in Excel
  • Find Last Day of the Month in Excel
  • Two ways to sum time over 30 minutes in Excel
  • Count times in a specific range in Excel
  • Next biweekly payday from date in Excel

Grouping

  • If cell contains one of many things in Excel
  • Running count group by n size in Excel
  • Group times into unequal buckets in Excel
  • Group numbers at uneven intervals in Excel
  • Group arbitrary text values in Excel

General

  • Mark Workbook as Final in Excel
  • Share Excel data with Word documents
  • How to generate random number weighted probability in Excel
  • How to calculate percent variance in Excel
  • Basic error trapping example in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning