Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 39
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 622
Default 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,"")
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default 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



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default 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



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 793
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting macro security level to "low" permanently? Bill Seaton Excel Discussion (Misc queries) 3 June 5th 09 10:47 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
Multiple "source" workbooks linked to single "destination" workboo DAVEJAY Excel Worksheet Functions 1 September 17th 07 05:33 PM
freeze window creates multiple "views" suffixed with ":n" dgaex001 Excel Discussion (Misc queries) 5 March 22nd 06 05:28 PM
Can I copy the formatting of a cell in a IF Fucntion "VLOOKUP"? Terry Excel Worksheet Functions 1 October 26th 05 06:49 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"