I want Access to do this equation that works in excel. I was using the expression builder yet cannot get it to replicate. These are both the fields I need converted:
=IF(AND($D2<G$1,$E2>F$1)=TRUE,($B2*$C2)*IF(AND($D3 <G$1,$D3>F$1)=TRUE,1-($D3-F$1)/30,1)*IF(AND($E4<G$1,$E4>F$1)=TRUE,1-(G$1-$E4)/30,1),0)
and
=IF(AND($D3<H$1,$D3>G$1)=TRUE,1-($D3-G$1)/30,1)