Skip to main content

How to quickly extract part of date from cell in Excel?

Author Sun Last modified

This article is talking about extracting part of date from a cell in Excel. For example, you want to extract the year 2016, the month 6 and the day 1 separately from the given date 6/1/2016 as below screenshot shown.
extract part of date

Extract part of date from cell with formula

Extract part of date from cell with Kutools for Excel good idea3


arrow blue right bubble Extract part of date from cell with formula

To extract year, month, day or weekday, week number from a given date, you can use following formulas:

Extract Year =YEAR(A2)
Extract Month =MONTH(A2)
Extract Day =DAY(A2)
Extract Weekday =WEEKDAY(A2) or =WEEKDAY(A2,1)
Extract Week Number =WEEKNUM(A2)

Select one of above formulas, and enter it into a blank cell and press Enter key to get extracted part, drag auto fill handle over the cells needed to apply the formula. See screenshot:
type the formulas to extract part of the date


arrow blue right bubble Extract part of date from cell with Kutools for Excel

With Kutools for Excel’s Apply Date Formatting can help you quickly convert the given dates to year, month, day or other date formatting as you want.

Kutools for Excel offers over 300 advanced features to streamline complex tasks, boosting creativity and efficiency. Itegarate with AI capabilities, Kutools automates tasks with precision, making data management effortless. Detailed information of Kutools for Excel...         Free trial...

After free installing Kutools for Excel, please do as below:

1. Select the dates and click Kutools > Format > Apply Date Formatting. See screenshot:
click Apply Date Formatting feature of kutools

2. In the Apply Date Formatting dialog, choose the date formatting from the left pane, at the same time you can preview the converted result in right pane. See screenshot:
choose the date formatting in the dialog box

3. Click Ok or Apply, the selected dates have been converted to the date formatting you choose.

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!