View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Michael Slater Michael Slater is offline
external usenet poster
 
Posts: 17
Default Question about using SUM with a date criteria

Hello,

I'm using the following array formula (Thank you again Macropod!) to add
Sick/Vacation/Personal leave hours (as simple numbers) in cells that also
contain text:

=SUM(IF(ISERROR(VALUE(LEFT(B1:B4,FIND("
",B1:B4)-1))),0,VALUE(LEFT(B1:B4,FIND(" ",B1:B4)-1))))

Is there a way to add a date criteria to this formula so that it will only
add those hours as of the current date? In the spreadsheet, Column A
contains dates.

Any help is appreciated.

Thanks,

Mike