How to calculate quarter start date or end date based on a given date in Excel?
Supposing, I have a list of dates in a worksheet, and now, I want to get the start date and end date of that quarter as following screenshot shown. How could I deal with this job quickly and easily in Excel?
To get the quarter’s start or end date of a given date, please do as follows:
To calculate the start date of a quarter based on a date:
Enter this formula: =DATE(YEAR(A2),FLOOR(MONTH(A2)-1,3)+1,1) into a blank cell where you want to locate the result, and drag the fill handle down to the cells which you want to apply this formula, and all the start dates of the quarter by the given dates have been calculated, see screenshot:
To calculate the end date of a quarter based on a date:
Please apply this formula: =DATE(YEAR(A2),((INT((MONTH(A2)-1)/3)+1)*3)+1,1)-1 into a blank cell where you want to output the result, and drag the fill handle down to the cells which you want to apply this formula, and all the end dates of the quarter by the given dates have been calculated, see screenshot:
Best Office Productivity Tools
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!