gheyman
Well-known Member
- Joined
- Nov 14, 2005
- Messages
- 2,347
- Office Version
- 365
- Platform
- Windows
I have this formula that I am using so that it works dynamically with filters (only sums filtered values). In this same table, that it is referencing, I have a filed named "Date"
I want to put a Start date in cell O3 and an End Date in P3 and have the formula only sum if the Date field is equal to or between those dates. Any help is appreciated.
=SUMPRODUCT((ProjHoursActuals[ProjectLaborCategoryCode]=O5)+0,SUBTOTAL(109,OFFSET(ProjHoursActuals[Value],ROW(ProjHoursActuals[Value])-MIN(ROW(ProjHoursActuals[Value])),0,1,1)))
I want to put a Start date in cell O3 and an End Date in P3 and have the formula only sum if the Date field is equal to or between those dates. Any help is appreciated.
=SUMPRODUCT((ProjHoursActuals[ProjectLaborCategoryCode]=O5)+0,SUBTOTAL(109,OFFSET(ProjHoursActuals[Value],ROW(ProjHoursActuals[Value])-MIN(ROW(ProjHoursActuals[Value])),0,1,1)))