View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jacob Skaria Jacob Skaria is offline
external usenet poster
 
Posts: 8,520
Default Sum values if date is before today

Try
=SUMIF(B11:B376,"<" & TODAY(),D11:D376)

If this post helps click Yes
---------------
Jacob Skaria


"James" wrote:

Hi,

I have dates in B11:B376 and numbers representing time taken off in D11:D376
(ie. 1.0 for a full day, and 0.5 for half day vacation taken)

My question is how do I sum the time taken if the date has already passed,
ie. if the date in column B is less than TODAY()

Thanks in advance