×

Quarter Dates in Excel

Excel is a combination of numeric values and alphabets. The user's project consists of the date depending upon their accounting and financial analysis. Sometimes there is a need to find the date and year present in the data belonging to which quarter. The formula method is used to find the quarter of the given date where the default function is not present in Excel.

How to find the quarter of the given date in Excel?

To find the quarter of the given date, the months are classified based on users' preferences as follows,

Quarter 1- Jan, Feb, Mar

Quarter 2-April, May, June

Quarter 3- July, Aug, Sep

Quarter 4- Oct, Nov, Dec

Step 1: Enter the required date in the column range A1:A10.

Quarter Dates in Excel

Step 2: Select a new cell, B1, and enter the formula as =ROUNDUP (MONTH (Cell name)/ 3, 0). Here A1 is mentioned as the cell name.

Step 3: Press Enter. The result will be displayed in cell B1. Drag the formula toward the required cell range to display the result for the remaining cells.

Quarter Dates in Excel

From the above formula, the month function retrieves the month from the given data and divides it with the number 3. The ROUNDUP function is used to round the value to the nearest integer. Finally, the value obtained displays the date present in which quarter. The above worksheet shows the result in column B1:B10, which consists of which quarter the date is present.

Example 1: Suppose the user displays the predefined quarter based on the project. How to calculate it?

Here in this example, the user displays the quarter as follows,

Quarter 1- April, May, and June

Quarter 2- July, Aug, Sep

Quarter 3- Oct, Nov, Dec

Quarter 4- Jan, Feb, Mar

The formula is modified as follows,

=IF(ROUNDUP(MONTH(A1)/3,0)-1=0,4,ROUNDUP(MONTH(A1)/3,0)-1).

Let’s implement this formula in the data as follows,

Step 1: Enter the required date in the column range A1:A10.

Quarter Dates in Excel

Step 2: Select a new cell namely B1 and enter the formula as =IF(ROUNDUP(MONTH(A1)/3,0)-1=0,4,ROUNDUP(MONTH(A1)/3,0)-1).Here A1 is mentioned as cell name.

Step 3: Press Enter. The result will be displayed in cell B1. Drag the formula toward the required cell range to display the result for the remaining cells.

Quarter Dates in Excel

The above worksheet shows the result in column B1:B10, which consists of which quarter the date is present. Here ROUNDUP function correctly displays the quarter value for all except the 4th quarter. It gives the result 0 for the 4th quarter. To rectify this, the IF function is implemented. If the quarter value is 0, the IF function returns the 4th quarter.

Example 2: How to display the word quarter in the cell?

Here, the word quarter is displayed in the cell using the formula. The steps to be followed are,

Step 1: Enter the required date in the column range A1:A10.

Quarter Dates in Excel

 Step 2: Select a new cell, namely B1, and enter the formula as =”Quarter”&ROUNDUP (MONTH (A1)/3, 0). Here A1 is mentioned as the cell name.

Step 3: Press Enter. The result will be displayed in cell B1. Drag the formula toward the required cell range to display the result for the remaining cells.

Quarter Dates in Excel

The above worksheet's result is displayed in column B1:B10, along with the word quarter. Either the word “q” or “Quarter” is added.

Example 3: How to extract the quarter of the date using CHOOSE function?

Excel provides another way to calculate the quarter of the given date. The CHOOSE function helps to find the quarter of the date. The steps to be followed are,

Step 1: Enter the required date in the column range A1:A10.

Quarter Dates in Excel

Step 2: Select a new cell, B1, and enter the formula as =CHOOSE(MONTH(A1),1,1,1,2,2,2,3,3,3,4,4,4). Here A1 is mentioned as the cell name. The formula works based on first getting the month of the given date, and the index in the formula helps display the required quarter.

Step 3: Press Enter. The result will be displayed in cell B1. Drag the formula toward the required cell range to display the result for the remaining cells.

Quarter Dates in Excel

From the above worksheet, the result is displayed in the column range B1:B10 using the CHOOSE function.

Example 4: How to calculate the quarter of the date for the non-calendar year?

To calculate the quarter for the non-calendar years, the months are classified as follows,

Quarter 1- July, Aug, Sep 

Quarter 2- Oct, Nov, Dec

Quarter 3- Jan, Feb, Mar

Quarter 4- April, May, and June

The steps to be followed to calculate the quarter of the date are as follows,

Step 1:  Enter the required date in the column range A1:A10.

Quarter Dates in Excel

 Step 2: Select a new cell, B1, and enter the formula as =CHOOSE(MONTH(A1),3,3,3,4,4,4,1,1,1,2,2,2). Here A1 is mentioned as the cell name.

Step 3: Press Enter. Drag the formula toward the required cell range to display the result for the remaining cells. The result will be displayed in cell B1.

Quarter Dates in Excel

From the above worksheet, the result is displayed in the column range B1:B10 using the CHOOSE function where the order of index is changed based on the data.

Summary

Multiple projects contain various dates. Hence it is necessary to arrange the data based on the date. The formula will vary based on the quarter of the date. The above tutorial explains the various functions and methods used to calculate the quarter of the date.  


Related Topics

Thermometer Chart in the Microsoft Excel

It was known that the thermometer chart is basically based on a single data point and that in turn could be used to show the achievement percentage. It primarily depends...

7 minutes read.

Text to Columns

Text to Columns This Excel feature is used to split the cell content name of one cell into multiple columns based on a delimiter, such as a space or a special character or based...

2 minutes read.

Excel AVERAGE() Function

Excel AVERAGE() Function The AVERAGE() function returns the average of its arguments, which can be number or names, arrays, or references that contain numbers. It ignores text values and blank cells. Syntax AVERAGE(Number1,Number2, ...) Parameter Number1(required)- This parameter...

1 minute read.

How to lock cells in Excel?

How to lock cells in Excel? The locked cells feature used to protect and secure your Excel sheet or workbook from the unauthorized access. If the cells are locked, it can’t be deleted, reformatted,...

5 minutes read.

Paste Options in Excel

Excel spreadsheet is a combination of numeric values, alphabets which is used for calculation purposes. While performing the calculations, there is a need to repeat the data for further process....

6 minutes read.

Blank cells in Excel

Microsoft Excel is spreadsheet software designed by Microsoft in 1987. It is used to perform arithmetic calculations in various fields like statistical, engineering and financial. Many times, we export data...

4 minutes read.

Excel SMALL() Function

The SMALL() function in excel returns the k-th smallest value in a data set. Syntax SMALL(Array, kth small number from the list) Parameter Array (required)- This parameter represents the list of numbers from which nth smallest...

1 minute read.

Excel Ribbon Toolbar

Excel Ribbon/Toolbar How does a toolbar look like? The top section of an excel file is called a Ribbon or a toolbar. It has various commands which can be useful for us in our daily work....

6 minutes read.

What do you understand by Combination Chart in Microsoft Excel?

In Microsoft Excel, an individual has the Combo Chart option available, which can be effectively clubbed into two charts types, which are Column Clusters Chart, Line Chart to get the...

7 minutes read.

Excel FIND() Function

The FIND() function in excel finds one text value within another. It is a case-sensitive function. Syntax FIND (find_text, within_text, [start_num]) Parameter find_text (required)- This parameter represents the text to find. within_text (required)- This parameter represents...

1 minute read.

Excel OFFSET () Function

Excel OFFSET () Function The OFFSET() function in excel returns range of cells that is a specified number of rows and columns from an initial specified range. Syntax OFFSET (reference, rows, cols, [height], [width]) Parameter reference(required)-...

2 minutes read.

SUM Functions in Excel

The BODMAS formula plays a vital role in the concept of mathematics. BODMAS rule follows the Bracket of Division, Multiplication, Addition and Subtraction. This rule is followed for a correct...

6 minutes read.

Shortcut Keys in Excel

Shortcut Keys in Excel Shortcut keys in Excel are used to simplify the work and save time by pressing a few keys.  These keys are used for navigating and working with Excel spreadsheets quickly and easily. Basic Selection:...

9 minutes read.

Count Characters in Excel

Microsoft Excel is used to perform calculations for multiple purposes. The data entered in the worksheet is a combination of numeric and alphabets. Sometimes there is a need to check...

4 minutes read.

SumIF Formula in Microsoft Excel

SUMIF Formula in Microsoft Excel is considered the primary and vital formula individuals can use to remove their workload. In this tutorial, we will discuss and learn about the SUMIF Formula...

7 minutes read.

Check Marks in Excel

What is a Check Mark? Among various characters checkmark is one of the characters used to indicate that the item or product in the list is correct, chosen or selected. A...

5 minutes read.

Excel File using Password

How to Protect an Excel File using Password? Nowadays Microsoft Excel is widely used by large organizations to small organizations for their personal and professional usage. They share files to various...

2 minutes read.

Separate Strings in Excel

How to Separate String in Excel Day by day, Microsoft Excel is increasing for business and personal use. It is a combination of numbers and alphabets based on the data provided....

4 minutes read.

Averageif Function in Excel

Average If in HTML In Mathematics, Average function is used to find the arithmetic mean of the given data. It is defined as the dividing the sum total of given data...

7 minutes read.

Sum Every Nth Row in Microsoft Excel

The main and the critical use of the SUM Function is used to add all the amounts of the numerical data and thus efficiently produce the sum of all at...

3 minutes read.