Days left in a quarter

jswillcox

New Member
Joined
Dec 30, 2015
Messages
32
I am trying to finda a formula that will show how many days are left in a quarter.

I have one to find the days into a quarter you are
=TODAY()-LOOKUP(TODAY(),DATE(YEAR(TODAY()),{1,4,7,10},1))+1


I would like a formula to show the number of days left in the quarter including the current day.

For example:
19 Feb 2016 we have 42 days left in the quarter.
19 Feb 2017 we have 41 days left in the quarter.

Any assistance you can give would be appreciated.
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
I know these are long formulas and maybe somebody else can come up with a cleaner version, but here's my attempt.

This one is for the current date:
=CHOOSE(MONTH(NOW()),DAYS360(NOW()-1,DATE(YEAR(NOW()),4,1)),DAYS360(NOW()-1,DATE(YEAR(NOW()),4,1)),DAYS360(NOW()-1,DATE(YEAR(NOW()),4,1)),DAYS360(NOW()-1,DATE(YEAR(NOW()),7,1)),DAYS360(NOW()-1,DATE(YEAR(NOW()),7,1)),DAYS360(NOW()-1,DATE(YEAR(NOW()),7,1)),DAYS360(NOW()-1,DATE(YEAR(NOW())+1,1,1)),DAYS360(NOW()-1,DATE(YEAR(NOW()),10,1)),DAYS360(NOW()-1,DATE(YEAR(NOW()),10,1)),DAYS360(NOW()-1,DATE(YEAR(NOW())+1,1,1)),DAYS360(NOW()-1,DATE(YEAR(NOW())+1,1,1)),DAYS360(NOW()-1,DATE(YEAR(NOW())+1,1,1)))

This one is for any date in a Cell (C4 in this example):
=CHOOSE(MONTH(C4),DAYS360(C4-1,DATE(YEAR(C4),4,1)),DAYS360(C4-1,DATE(YEAR(C4),4,1)),DAYS360(C4-1,DATE(YEAR(C4),4,1)),DAYS360(C4-1,DATE(YEAR(C4),7,1)),DAYS360(C4-1,DATE(YEAR(C4),7,1)),DAYS360(C4-1,DATE(YEAR(C4),7,1)),DAYS360(C4-1,DATE(YEAR(C4)+1,1,1)),DAYS360(C4-1,DATE(YEAR(C4),10,1)),DAYS360(C4-1,DATE(YEAR(C4),10,1)),DAYS360(C4-1,DATE(YEAR(C4)+1,1,1)),DAYS360(C4-1,DATE(YEAR(C4)+1,1,1)),DAYS360(C4-1,DATE(YEAR(C4)+1,1,1)))

Jeff
 
Upvote 0

Forum statistics

Threads
1,215,430
Messages
6,124,849
Members
449,194
Latest member
HellScout

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