Identify calendar quarter of dates in a year

Muthukrishnan V

Active Member
Joined
May 29, 2008
Messages
276
Office Version
  1. 365
Platform
  1. Windows
Identify calendar quarter of dates in a year

Office 365

Column D contains date in dd-mm-yyyy format.

Column G contains number in numerical format, for the purpose of
showing calendar quarter of dates (based on column D)
like 1 or 2 or 3 or 4.

If cell D4 contains date, 13-01-2020, I require G4 to
display 1 being 13th January falls in the first quarter of
01-01-2020 to 31-03-2020.

Similarly if D4 contains 28-05-2020, G4 to display 2
being 28th May falls in second quarter between 01-04-2020 to
30-06-2020.

Kindly advise me a formula.
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.

Forum statistics

Threads
1,214,881
Messages
6,122,074
Members
449,064
Latest member
MattDRT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top