grcshekar71
New Member
- Joined
- Apr 17, 2020
- Messages
- 10
- Office Version
- 2007
- Platform
- Windows
=IF(INDEX(EmployeeMaster!O:O,MATCH(H2,EmployeeMaster!A:A,0))="Y",IF(SUM(Y2:AD2)>=SUM(S2:X2),0,IF(SUM(S2:X2)>15000,15000*12%,SUM(S2:X2)*12%)),0).
This formula is intended to work as follows.
IF SUM(S2:X2) - SUM(Y2:AD2) >= SUM(S2:X2) * 12%
THEN RESULT
ELSE 0
Also H2,EmployeeMaster!A:A,0))="Y" is only a flag check if Y then continue evaluating formula else no
But it is not working. It works only if SUM(Y2:AD2) = SUM(S2:X2)
This formula is intended to work as follows.
IF SUM(S2:X2) - SUM(Y2:AD2) >= SUM(S2:X2) * 12%
THEN RESULT
ELSE 0
Also H2,EmployeeMaster!A:A,0))="Y" is only a flag check if Y then continue evaluating formula else no
But it is not working. It works only if SUM(Y2:AD2) = SUM(S2:X2)