ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Identifying quarter to which a date belongs? (https://www.excelbanter.com/excel-discussion-misc-queries/196253-identifying-quarter-date-belongs.html)

harsh_njoy

Identifying quarter to which a date belongs?
 
how to identify the quarter to which the following date belongs
'31/3/2007' in excel?

please let me know what function i should apply on the cell to get the
quarter. like in the above case answer comes out to be - 1.

Thanks,
Harsh

Mike H

Identifying quarter to which a date belongs?
 
Try

=INT((MONTH(A1)-1)/3)+1

Mike

"harsh_njoy" wrote:

how to identify the quarter to which the following date belongs
'31/3/2007' in excel?

please let me know what function i should apply on the cell to get the
quarter. like in the above case answer comes out to be - 1.

Thanks,
Harsh


Bob Phillips

Identifying quarter to which a date belongs?
 
one less step

=INT((MONTH(A1)+2)/3)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"harsh_njoy" wrote in message
...
how to identify the quarter to which the following date belongs
'31/3/2007' in excel?

please let me know what function i should apply on the cell to get the
quarter. like in the above case answer comes out to be - 1.

Thanks,
Harsh




harsh_njoy

Identifying quarter to which a date belongs?
 
On Jul 25, 12:29*pm, Mike H wrote:
Try

=INT((MONTH(A1)-1)/3)+1

Mike

Thanks Mike

"harsh_njoy" wrote:
how to identify the quarter to which the following date belongs
'31/3/2007' in excel?


please let me know what function i should apply on the cell to get the
quarter. like in the above case answer comes out to be - 1.


Thanks,
Harsh- Hide quoted text -


- Show quoted text -




All times are GMT +1. The time now is 07:57 PM.

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