The first part of my formula evaluates correctly to 115.54 : =SUMIFS(TimeHours,ProviderID,F5,ProcedureCode,"<>Staff Training",ProcedureCode,"<>Scheduled Time Off",Labels,"<>*Full Time*")
The second part of my formula, taken separately also works just fine, and evaluates to 45 : SUMIFS(TimeHours,ProviderID,F5,Labels,"<>*Full Time*",Dates,">="&Wk1Begin,Dates,"<="&Wk1End)-40
If I simply subtract the second part from the first, I should therefore get 70.54. But I don't. I only get -13.46!!
=SUMIFS(TimeHours,ProviderID,F5,ProcedureCode,"<>Staff Training",ProcedureCode,"<>Scheduled Time Off",Labels,"<>*Full Time*")-SUMIFS(TimeHours,ProviderID,F5,Labels,"<>*Full Time*",Dates,">="&Wk1Begin,Dates,"<="&Wk1End)-40
What am I missing?
Much thanks.
The second part of my formula, taken separately also works just fine, and evaluates to 45 : SUMIFS(TimeHours,ProviderID,F5,Labels,"<>*Full Time*",Dates,">="&Wk1Begin,Dates,"<="&Wk1End)-40
If I simply subtract the second part from the first, I should therefore get 70.54. But I don't. I only get -13.46!!
=SUMIFS(TimeHours,ProviderID,F5,ProcedureCode,"<>Staff Training",ProcedureCode,"<>Scheduled Time Off",Labels,"<>*Full Time*")-SUMIFS(TimeHours,ProviderID,F5,Labels,"<>*Full Time*",Dates,">="&Wk1Begin,Dates,"<="&Wk1End)-40
What am I missing?
Much thanks.