L
LWilson
Is it possible to have a sum in a Vlookup?
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.