=IF(Rules!$C$19="Positive",VLOOKUP(B116,'data as reported'!$A$1:$HO$20001,MATCH($C$6&$C$5,'data as reported'!$A$1:$HO$1,FALSE),FALSE)/1000000),IF(Rules!$C$19="Negative",
-VLOOKUP(B116,'data as reported'!$A$1:$HO$20001,MATCH($C$6&$C$5,'data as reported'!$A$1:$HO$1,FALSE),FALSE)/1000000),0))
For...