I have a data table where I created a helper field [Month] from the [Production Day] field. By doing that I get the first formula below to work properly. I would like to not need the helper field [Month] and have the EOMONTH formula work in the OFFSET
function against the [Production Day] field but I haven't had any luck. I've tried multiple ways to use EOMONTH in and around the OFFSET formula for the [Production Day] without success. Any ideas?
=SUMPRODUCT(--(OFFSET(DownTime[Month],0,0,,1)=EOMONTH(B$2,0)),--(OFFSET(DownTime[Machine],0,0,,1)=B$3),--(OFFSET(DownTime[Category],0,0,,1)=$A4),(OFFSET(DownTime[Minutes Down],0,0,,1)))
=SUMPRODUCT(--(OFFSET(DownTime[Production Day],0,0,,1)=EOMONTH(B$2,0)),--(OFFSET(DownTime[Machine],0,0,,1)=B$3),--(OFFSET(DownTime[Category],0,0,,1)=$A4),(OFFSET(DownTime[Minutes Down],0,0,,1)))