×

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

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.

Custom Sort Order in Excel

Microsoft Excel Worksheet is widely used for office, personal and various usages. The data present in the worksheet is a combination of numbers and alphabets. If the worksheet contains more...

3 minutes read.

Excel ROUND() Function

Excel ROUND() Function The ROUND() function in excel rounds the numbers to specified digits. Syntax ROUND(Number,num_digits) Parameter Number(required)- This parameter represents the number which you want to round up. num_digits(required)- This parameter represents the number of decimal places to which...

1 minute 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.

How to Alphabetize in Excel?

Alphabetize in Excel One of the reasons for Excel's widest popularity is its ability to swiftly and effortlessly sort data. Excel facilitates easy methods that alphabetically sort the lists of strings...

5 minutes read.

Nearest Multiple in Excel

In Excel, the values in Multiplication can be round up, down and to nearest Multiplication number using Excel default function. This makes the calculation to be performed in an easier...

3 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.

Auto Fill and Flash fill

Fill Features Excel provides an amazing feature to fill the data automatically, if the available data is present in the form of any pattern. Instead of entering your data manually, you can use...

3 minutes read.

How to make use of the Excel Autofit in Excel

In Microsoft Excel, Autofit can be used to adjust and then fix the column and the respective row height to till the maximum limit until and unless it has the...

7 minutes read.

How to use TODAY function in Excel

What is TODAY Function in Excel? Today function is one of the types of Worksheet function (WS) in Excel.Today Function belongs to the Date and Time functions.It is used to calculate...

3 minutes read.

Excel LARGE() Function

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

1 minute 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.

Data Validation in Excel

What is Data Validation? Data Validation is one of the features in Excel that allows user to restrict values which other people can fill in – for example, in a form, you may...

4 minutes read.

Excel VALUE() Function

The VALUE() function in excel converts the specific text representing a number (i.e., a number, date, or time format) into a numerical value. Syntax VALUE(Text) Parameter Text(required)- This parameter represents the string that you want...

1 minute read.

Excel COUNT() Function

Excel COUNT() Function The COUNT() function counts the number of cells in a range that contain numbers. Syntax COUNT([value1], [value [2], ...) Parameter value1(required)- This parameter represents the first cell in the range. value2, …(optional)- It represents the...

1 minute read.

What is a name box in Excel?

The name box in Microsoft Excel specifies a name for a single cell or a table. The name box is present in the top left corner, left to the formula...

4 minutes read.

Excel Unique Values

The Unique function in Excel filters the list of unique values from the given data like range or array. The data presented is either number, text, date, time etc. This...

3 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.

Excel EDATE() Function

Excel EDATE() Function The EDATE() function in excel returns the serial number of the date that is the indicated number of months before or after the start date. Syntax EDATE(Start_Date, Month) Parameter Start_Date(required)- This parameter represents...

1 minute read.

Excel COUNTA() Function

Excel COUNTA() Function The COUNTA() function counts the number of cells in a range that are not empty. Syntax COUNTA([value1], [value [2], ...) Parameter value1(required)- This parameter represents the first cell in the range. value2, …(optional)- It represents...

1 minute read.