IF Statement with Dates

JTL9161

Well-known Member
Joined
Aug 29, 2012
Messages
591
Office Version
  1. 365
Platform
  1. Windows
I have a spreadsheet with a list that includes dates going back to 1960.

For this list I am trying to assign a quarter number to each 3 month period based on the date.

1/1/xxxx to 03/31xxxx = Quarter 1
4/1/xxxx to 06/30/xxxx = Qtr. 2
7/1/xxxx to 09/30/xxxx = Qtr. 3
10/1/xxxx to 12/31/xxxx = Qtr. 4

Not sure if formula can ignore year since I am trying to assign quarters all the back to 1960 and am only relying on the month and day to figure each quarter.

Thank you,
James
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Upvote 0
DIdn't have one as some Quarter number were already listed. I was just looking for a formula to redo all the dates back to 1960 and make sure they are all correct going forward. True I would only need to look at the month. I think this one will work.

Thanks.
 
Upvote 0
You're welcome, and happy to help. Let us know if you need something different.
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,633
Latest member
DougMo

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