Thread
:
SUM based on Date < TODAY()
View Single Post
#
4
Posted to microsoft.public.excel.misc
Maistrye
external usenet poster
Posts: 1
SUM based on Date < TODAY()
Wrote:
Hi All,
I need some help on a worksheet I am creating, basically it is a
simple
sheet to keep track of employees holidays.
I simply have a row at the top containing a list of dates, (individual
dates) until the end of the current year.
Then I have a column containing the employees name, and under each
day,
if the employee has booked holidays for that day, then I simply mark
it
with either a 1 or a 0.5 representing full or half days.
What I want to do is create a cell which calculates the number of days
the employee has already taken. (i.e Previously) How can I do a sum of
the row, which includes the holiday information, but only upto
TODAY()?
If I am not clear I appologise, if I am i look forward to your
suggestions.
Kind Regards
Mick Walker
You indicated your date info is in the first row
=SUMPRODUCT(--($A$1:$Z$1<TODAY()),A2:Z2)
If you want to include today, change the "<" to "<="
Scott
--
Maistrye
------------------------------------------------------------------------
Maistrye's Profile:
http://www.excelforum.com/member.php...o&userid=36078
View this thread:
http://www.excelforum.com/showthread...hreadid=562382
Reply With Quote
Maistrye
View Public Profile
Find all posts by Maistrye