View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Umlas[_2_] Bob Umlas[_2_] is offline
external usenet poster
 
Posts: 68
Default Multiple Level "and" fucntion help!

=IF(AND(A311=A312,I311=I312,J311="OTP",J312="REG") ,L311/1.5,L311)


"MarvInBoise" wrote in message
...
=IF(AND(A311=A312,I311=I312),(J311=OTP,J312=REG),L 311/1.5=L312)

What I'm attempting to do.
If the EmplID is the same on A2 and A3 and the and Pay dates are equal on
I2
and I3 and the Paycode on line J2 is OPT and J3 is REG then (and only
then)
divide the payrate L2(OTP) by 1.5.
--
Marv Lusk