L
LWilson
Is it possible to have a sum in a Vlookup?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
So, for the current quarter, in this example,
the number of days will be 88, based on
the example.
T. Valko said:OK, let's start with this and then go from there...
For the total number of days in a quarter based on any date:
A1 = some date
=SUM(DATE(YEAR(A1),FLOOR(MONTH(A1)-1,3)+{1,4},1)*{-1,1})
If A1 = today's date 12/29/2009 the formula returns 92.
--
Biff
Microsoft Excel MVP
.
no matter what the date it is.

Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.