Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How To Compare Two Lists in Excel
  • How to combine 2 or more chart types in a single chart in Excel
  • How to Create Gantt Chart in Excel
  • Data Series in Excel
  • How To Load Analysis ToolPak in Excel

References

  • How to use Excel INDIRECT Function
  • How to get last row in text data in Excel
  • INDEX function: Description, Usage, Syntax, Examples and Explanation
  • How to get last column number in range in Excel
  • Last row number in range

Data Validations

  • Prevent invalid data entering in specific cells
  • Excel Data validation date in next 30 days
  • Excel Data validation must not contain
  • Excel Data validation allow uppercase only
  • Excel Data validation whole percentage only

How to calculate quarter from date in Excel

by

If you want to calculate the quarter (i.e. 1,2,3,4) from a date, you can use the ROUNDUP function together with MONTH.

Formula

=ROUNDUP(MONTH(date)/3,0)

Explanation

In the example shown, the formula in cell C5 is:

=ROUNDUP(MONTH(B5)/3,0)

How this formula works

In this case, the formula first extracts the month as a number between 1-12, then divides this number by 3. The result is then rounded up to the nearest whole number using the ROUNDUP function.

Worked Example:   ROUNDUP function: Description, Usage, Syntax, Examples and Explanation

The ROUNDUP function works like the ROUND function, except that ROUNDUP will always round numbers 1-9 upwards to a given number of digits.

Worked Example:   Round numbers in Excel

Adding a Q

If you want the quarter number to include a “Q” you can concatenate. The formula in D5 is:

="Q"&ROUNDUP(MONTH(B5)/3,0)

The result is the letter “Q” prepended to the quarter number:

Worked Example:   Find, Trace and Correct Errors in Excel Formulas using 'Formula Auditing'

Post navigation

Previous Post:

Get day from date in Excel

Next Post:

Calculate loan interest in given year in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to use Excel OR Function
  • Nested IF function example in Excel
  • How to use Excel XOR Function
  • IF function: Description, Usage, Syntax, Examples and Explanation
  • IFNA function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Get month name from date in Excel
  • Get last weekday in month in Excel
  • List holidays between two dates in Excel
  • Get first day of previous month in Excel
  • Convert time to time zone in Excel

Grouping

  • How to randomly assign data to groups in Excel
  • Group times into 3 hour buckets in Excel
  • Running count group by n size in Excel
  • Group arbitrary text values in Excel
  • Map text to numbers in Excel

General

  • Count cells that do not contain errors in Excel
  • Check if multiple cells have same value in Excel
  • Find, Trace and Correct Errors in Excel Formulas using ‘Formula Auditing’
  • Index and match on multiple columns in Excel
  • Select, Insert, Rename, Move, Delete Worksheets in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning