ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Multiple Level "and" fucntion help! (https://www.excelbanter.com/excel-worksheet-functions/202375-multiple-level-fucntion-help.html)

MarvInBoise

Multiple Level "and" fucntion help!
 
=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


Spiky

Multiple Level "and" fucntion help!
 
On Sep 12, 2:20 pm, MarvInBoise
wrote:
=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


Couple changes, and I threw in an instruction if False:

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

Bob Umlas[_2_]

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




T. Valko

Multiple Level "and" fucntion help!
 
Try this:

=AND(A2=A3,I2=I3,J2="OPT",J3="REG")*L2/1.5

--
Biff
Microsoft Excel MVP


"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




Duke Carey

Multiple Level "and" fucntion help!
 
maybe

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


"MarvInBoise" wrote:

=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


Sheeloo

Multiple Level "and" fucntion help!
 
Put this in L312
=IF(AND(A311=A312,I311=I312),IF(AND(J311="OTP",J31 2="REG"),L311/1.5,""),"")

"MarvInBoise" wrote:

=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



All times are GMT +1. The time now is 08:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com