Excel - Calculate Qtrs & dates

excel_helps!

New Member
Joined
Jan 20, 2010
Messages
11
Hi There,

I have a specific work that I am trying to resolve but somehow am unable to solve the same.

so basically in col A and Col B I have project start date and project end date. i have minisheet attached below.

what help i need from the group is to update 4 columns using Col A and Col B

in Col C - if the project start date is 1st day of Qtr then in which Qtr i am in ? (in number for ex: 2, 3, 4)
in col D - how many Qtrs will the project run for?
in col E - if i am in 3rd Qtr what is the start date of the Qtr
in col F - if i am in 3rd Qtr what is the End date of the Qtr

If you guys can help me with this i will be out of this Jam and would really appreciate the help. i am Stuck and my work is not progressing.

Thank you so much in advance.

regards,
M
sample.xlsb
ABCDEF
1From project start date
2Project Start DateProjectEndDateQtr No.Total Qtrs between start and end dateStart date of current QtrEnd date of current Qtr
37/1/20216/30/2023
47/1/20215/31/2022
51/1/20212/28/2022
610/1/202011/30/2022
710/1/20219/30/2023
810/1/202012/31/2022
94/15/20215/31/2022
1010/1/20209/30/2022
117/1/202012/31/2021
1212/15/202012/31/2023
Sheet1
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
I am sure someone can come up with something better but try this for starters.
PS: I am in Australia so the date format is dd/mm/yyyy

20211224 Work out Quarters.xlsx
ABCDEF
1From project start dateCurrent Date25/12/2021
2Project Start DateProjectEndDateQtr No.Total Qtrs between start and end dateStart date of current QtrEnd date of current Qtr
31/07/202130/06/2023371/10/202131/12/2021
41/07/202131/05/2022331/10/202131/12/2021
51/01/202128/02/2022141/10/202131/12/2021
61/10/202030/11/2022481/10/202131/12/2021
71/10/202130/09/2023471/10/202131/12/2021
81/10/202031/12/2022481/10/202131/12/2021
915/04/202131/05/2022241/10/202131/12/2021
101/10/202030/09/2022471/10/202131/12/2021
111/07/202031/12/2021351/10/202131/12/2021
1215/12/202031/12/20234121/10/202131/12/2021
Sheet1
Cell Formulas
RangeFormula
F1F1=TODAY()
C3:C12C3=ROUNDUP(MONTH($A3)/3,0)
D3:D12D3=4*(YEAR(B3)-YEAR(A3))+ROUNDUP(MONTH($B3)/3,0)-$C3
E3E3=DATE(YEAR($F$1),CHOOSE(ROUNDUP(MONTH($F$1)/3,0),1,4,7,10),1)
F3:F12F3=EOMONTH(E3,2)
E4:E12E4=DATE(YEAR(TODAY()),CHOOSE(ROUNDUP(MONTH(TODAY())/3,0),1,4,7,10),1)
 
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,180
Members
448,871
Latest member
hengshankouniuniu

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