need to arrive the end of the Quarter end date

ahmed18

Board Regular
Joined
Jul 13, 2016
Messages
72
Hi Everyone,

My Financial year Starts from November to October and I need to arrive at the end of the quarter's-end date. Please help with excel formulas or functions at the earliest.

Nov to Jan - Q1
Feb to Apr -Q2
May to July - Q3
Aug to Oct - Q4
Example -
12-Dec-2020 My QEC end date will be 31st Jan 2021
11-Aug-2021 My QEC end date will be 31st Oct 2021

Thanks in advance please help.
 
Last edited:

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
The 3rd alternative names the lookup array. Copy the array from B3 and name the array with Name Manage Value ={44136,44227;44228,44316;44317,44408;44409,44500}
Try the alternative that you prefer. The table is not required for the last two alternatives.

Cell Formulas
RangeFormula
E2:E5E2=EOMONTH(D2,2)
D3:D5D3=E2+1
B2B2=LOOKUP(A2,D2:E5)
B3B3=LOOKUP(A2,{44136,44227;44228,44316;44317,44408;44409,44500})
B4B4=LOOKUP(A2,EndQ)
 
Upvote 0
Hi,

See if this does what you need:

Book3.xlsx
AB
1DateQtr End Date
212/12/20201/31/2021
38/11/202110/31/2021
411/20/20211/31/2022
Sheet1041
Cell Formulas
RangeFormula
B2:B4B2=EOMONTH(DATE(YEAR(A2),CEILING(MONTH(A2),3),1),1)
 
Last edited:
Upvote 0
A more generic version.
T202203a.xlsm
ABCD
75-Aug-2131-Oct-2131-Oct-21
85-Sep-2131-Oct-2131-Oct-21
95-Oct-2131-Oct-2131-Oct-21
1015-Jul-2131-Jul-2131-Jul-21
11
2a
Cell Formulas
RangeFormula
C7C7=EOMONTH(A7,2)
D7D7=EOMONTH(A7,LOOKUP(MONTH(A7),{11,2;12,1;1,0;2,2;3,1;4,0;5,2;6,1;7,0;8,2;9,1;10,0}))
C8C8=EOMONTH(A8,1)
D8:D10D8=EOMONTH(A8,LOOKUP(MONTH(A8),End_Q))
C9:C10C9=EOMONTH(A9,0)
 
Upvote 0
Ignore post #4.

Cell Formulas
RangeFormula
B1:B18B1=EOMONTH(A1,OR(MONTH(A1)={3,6,9,12})*1+OR(MONTH(A1)={2,5,8,11})*2+OR(MONTH(A1)={1,4,7,10})*0)
C1:C18C1=EOMONTH(A1,LOOKUP(MONTH(A1),{1,0;2,2;3,1;4,0;5,2;6,1;7,0;8,2;9,1;10,0;11,2;12,1}))
D1:D18D1=EOMONTH(A1,LOOKUP(MONTH(A1),End_Q))
 
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