can someone help with the following:

=If(B=Long(And((D4-E4)*10000)<0),then,((D4-E4)*10000*(-1))

Thanks