
- MS Excel Basics
- Excel - Home
- Excel - Getting Started
- Excel - Explore Window
- Excel - Backstage
- Excel - Entering Values
- Excel - Move Around
- Excel - Save Workbook
- Excel - Create Worksheet
- Excel - Copy Worksheet
- Excel - Hiding Worksheet
- Excel - Delete Worksheet
- Excel - Close Workbook
- Excel - Open Workbook
- Excel - Context Help
- Editing Worksheet
- Excel - Insert Data
- Excel - Select Data
- Excel - Delete Data
- Excel - Move Data
- Excel - Rows & Columns
- Excel - Copy & Paste
- Excel - Find & Replace
- Excel - Spell Check
- Excel - Zoom In-Out
- Excel - Special Symbols
- Excel - Insert Comments
- Excel - Add Text Box
- Excel - Undo Changes
- Formatting Cells
- Excel - Setting Cell Type
- Excel - Setting Fonts
- Excel - Text Decoration
- Excel - Rotate Cells
- Excel - Setting Colors
- Excel - Text Alignments
- Excel - Merge & Wrap
- Excel - Borders and Shades
- Excel - Apply Formatting
- Formatting Worksheets
- Excel - Sheet Options
- Excel - Adjust Margins
- Excel - Page Orientation
- Excel - Header and Footer
- Excel - Insert Page Breaks
- Excel - Set Background
- Excel - Freeze Panes
- Excel - Conditional Format
- Working with Formula
- Excel - Creating Formulas
- Excel - Copying Formulas
- Excel - Formula Reference
- Excel - Using Functions
- Excel - Builtin Functions
- Advanced Operations
- Excel - Data Filtering
- Excel - Data Sorting
- Excel - Using Ranges
- Excel - Data Validation
- Excel - Using Styles
- Excel - Using Themes
- Excel - Using Templates
- Excel - Using Macros
- Excel - Adding Graphics
- Excel - Cross Referencing
- Excel - Printing Worksheets
- Excel - Email Workbooks
- Excel- Translate Worksheet
- Excel - Workbook Security
- Excel - Data Tables
- Excel - Pivot Tables
- Excel - Simple Charts
- Excel - Pivot Charts
- Excel - Keyboard Shortcuts
- MS Excel Resources
- Excel - Quick Guide
- Excel - Useful Resources
- Excel - Discussion
How to calculate / get day of the year in Excel?
Did you ever attempted to determine in Excel which day of the year a particular date falls on based on the 365 days in a year? For instance, the current date is 22-08-2022, and I need to find out which day of the year today is based on the 365 days that make up a year. In this tutorial, I will discuss a straightforward method that may be used to deal with it.
You can solve this problem by using a straightforward formula. We do not have a direct function that allows us to determine the precise day of a year; nevertheless, you can use this formula.
Let’s understand step by step with an example.
Step 1
In the first step, Let’s assume we have a sample data for calculate or get day of the year. Please refer to the screenshot below.

Step 2
We have a list of dates in cell A2:A10. Now, you want to calculate the day of the year. Then, entered this formula into a blank cell in column B. Please check out the screenshot below for the same.
Formula
=A2-DATE(YEAR(A2),1,0)

Important Note − A2 already contains the date you wish to use to determine the day of the year, but you can modify it as necessary.
Step 3
Then, the day of the specified date within the year will be displayed when you press the Enter key. Please Check out the screenshot below for the same.

The day of the year can also be calculated using the following formula −
=A2-DATE(YEAR(A1),1,1)
Conclusion
In this tutorial, we used a simple example to help you understand how to calculate or get day of the year by using simple formula in Excel.
- Related Articles
- How to calculate the percentage of year or month passed in Excel?
- How to Convert Numbers to Year/Month/Day or Date in Excel?
- How to calculate quarter and year from date in Excel?
- How to calculate average age by year/month/date in Excel?
- How to get current day, month and year in Java 8?
- How to calculate days left in a month or year in Excel?
- How to calculate number of days in a month or a year in Excel?
- How to get day of month, day of year and day of week in android using offset date time API class?
- How to get a Date from year, month and day in Java?
- How to get month from week number and year in Excel?
- Golang program to get the current day of the year out of 365
- Python Pandas - Get the Day of the year from Period object
- Convert day of year to day of month in Java
- Day of the Year in Python
- Python Pandas - Create a PeriodIndex and get the day of the year
