ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   quarter (https://www.excelbanter.com/excel-worksheet-functions/225366-quarter.html)

Kent Prokopy[_2_]

quarter
 
How to display what quarter a date falls in?

03/24/2009 = "Q1"

Ashish Mathur[_2_]

quarter
 
Hi,

Use this formula. I have assumed that the date is in cell C6.

="Q"&IF(MOD(MONTH(C6),3)=0,MONTH(C6)/3,INT(MONTH(C6)/3)+1)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Kent Prokopy" <kent wrote in message
...
How to display what quarter a date falls in?

03/24/2009 = "Q1"



Mike H

quarter
 
Try

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

Mike

"Kent Prokopy" wrote:

How to display what quarter a date falls in?

03/24/2009 = "Q1"


Mike H

quarter
 
If you want the Q to display

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

Mike


"Mike H" wrote:

Try

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

Mike

"Kent Prokopy" wrote:

How to display what quarter a date falls in?

03/24/2009 = "Q1"


Bernd P

quarter
 
="Q"&INT((MONTH(A1)+2)/3)


All times are GMT +1. The time now is 12:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com