First day of Last month of the Calendar Quarter

jwb1012

Board Regular
Joined
Oct 17, 2016
Messages
167
Hello, I need a formula for the first day of the last month of the quarter... Any thoughts on this?

Value = 1/31/2018... Result = 03/01/2018

Value = 3/28/2018... Result = 03/01/2018

Value = 04/01/2018... Result = 06/01/2018

Value = 05/01/2018... Result = 06/01/2018
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Excel 2010
MNOPQ
131-Jan-1801-03-1812
22-Feb-1801-03-1821
331-Mar-1801-03-1830
41-Apr-1801-06-1842
51-May-1801-06-1851
615-Jun-1801-06-1860
4a
Cell Formulas
RangeFormula
N1=DATE(YEAR(M1),MONTH(M1)+LOOKUP(MONTH(M1),P1:Q6),1)
N2=DATE(YEAR(M2),MONTH(M2)+LOOKUP(MONTH(M2),P2:Q7),1)
N3=DATE(YEAR(M3),MONTH(M3)+LOOKUP(MONTH(M3),P3:Q8),1)
N4=DATE(YEAR(M4),MONTH(M4)+LOOKUP(MONTH(M4),P4:Q9),1)
N5=DATE(YEAR(M5),MONTH(M5)+LOOKUP(MONTH(M5),P5:Q10),1)
N6=DATE(YEAR(M6),MONTH(M6)+LOOKUP(MONTH(M6),P6:Q11),1)
P6=MONTH(M6)
 
Upvote 0
A1=1/31/2018
B1 =DATE(ROUNDUP(MONTH(A1)/3,0)*3,1,YEAR(A1))

please rearrange DATE foumula as your version.
Hope this helps.
 
Upvote 0
Hmm this doesn't seem to work.... any other thoughts?

[TABLE="width: 214"]
<colgroup><col span="2"></colgroup><tbody>[TR]
[TD="align: right"]1/31/2018[/TD]
[TD="align: right"]7/10/1908[/TD]
[/TR]
[TR]
[TD="align: right"]3/28/2018[/TD]
[TD="align: right"]7/10/1908[/TD]
[/TR]
[TR]
[TD="align: right"]4/1/2018[/TD]
[TD="align: right"]7/11/1911[/TD]
[/TR]
[TR]
[TD="align: right"]5/1/2018[/TD]
[TD="align: right"]7/11/1911[/TD]
[/TR]
[TR]
[TD="align: right"]12/31/2018[/TD]
[TD="align: right"]7/10/1917[/TD]
[/TR]
[TR]
[TD="align: right"]1/1/2018[/TD]
[TD="align: right"]7/10/1908[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0

Forum statistics

Threads
1,222,749
Messages
6,167,967
Members
452,158
Latest member
MattyM

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