gohawks222
New Member
- Joined
- Feb 2, 2016
- Messages
- 21
Does anyone see a problem with this formula? Values in E2 and F2 are dates, and using those dates as criteria it should sum the values. It's returning zero right now when it should be returning a value.
Code:
=IFERROR(((ABS(((SUMIFS(Orders!$B2:$BJ2, Orders!$B$1:$BJ$1, ">="&$E$2, Orders!$B$1:$BJ$1, "<"&$F$2))-(SUMIFS(Forecast!$B2:$BJ2, Forecast!$B$1:$BJ$1, ">="&$E$2, Forecast!$B$1:$BJ$1, "<="&$F$2)))/(SUMIFS(Orders!$B2:$BJ2, Orders!$B$1:$BJ$1, ">="&$E$2, Orders!$B$1:$BJ$1, "<"&$F$2))))*((SUMIFS(Orders!$B2:$BJ2, Orders!$B$1:$BJ$1, ">="&$E$2, Orders!$B$1:$BJ$1, "<"&$F$2))))/((SUMIFS(Orders!$B2:$BJ2, Orders!$B$1:$BJ$1, ">="&$E$2, Orders!$B$1:$BJ$1, "<"&$F$2))),0)