sumif
Posted by zingfree on November 15, 2001 10:44 PM
Hi.
Here's the problem.
I'm trying to write a flying logbook worksheet. What i need to do is have a running 28 day total of my flying hours. I simply cant figure out any particular formula that will do the trick.
A bit of info: My worksheet has multiple entries per column for each days flights. ie, column A might contain three entries for three seperate flights.
I tried converting the dates to serial numbers and then subtracting 28 from it etc, but I cant work it out.
i also tried a sumif function, but i dont know how to include two conditions,
this is the formula i ended up with from the conditional sum wizard, but it doesnt seem to work
here, column AE contains the dates as serial, AF contains the time for each entry (in minutes).
=SUM(IF($AE$6:$AE$30>="AE20-28",IF($AE$6:$AE$30<="AE20",$AF$6:$AF$30,0),0))
formula just gives me zero
!!!!
Any help?
Thanx zing