T
tofimoon4
My dear, please tell me ( with example) how to calculate values between
two dates .
two dates .
Sandy said:Speaking for myself, I am not sure what it is you are asking. Why don'
YOU
give US an example for what you want.
--
HTH
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
(e-mail address removed)
(e-mail address removed) with @tiscali.co.uk
Sandy Mann said:Monthly Totals:
January:
=SUMPRODUCT((MONTH(A1:A7)=1)*(B1:B7))
February:
=SUMPRODUCT((MONTH(A1:A7)=2)*(B1:B7))
March:
=SUMPRODUCT((MONTH(A1:A7)=3)*(B1:B7))
You don't say where the 15 days start so assuming that they start on
1/1/07:
1st 15 days:
=SUMPRODUCT((A1:A7>=--"1/1/07")*(A1:A7<=--"15/1/07")*B1:B7)
Next 15 days:
=SUMPRODUCT((A1:A7>--"15/1/07")*(A1:A7<=--"30/1/07")*B1:B7)
Etc.
That is Larger than (">") equals ("=") then a double unary ("--")to change
the text into a date.
--
HTH
Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings
(e-mail address removed)
(e-mail address removed) with @tiscali.co.uk