Multiple If arguments

rustynailed

Board Regular
Joined
Sep 29, 2008
Messages
64
Hi there
I'm attempt to create an argument based on 2 criteria
I have these 2 argument working. what I want to do is combine them together so they are one single argument. Can anyone assist?

=IF(AND(L2 <>"monthly", S2 <2), "Completion Letter", "Insufficient Letter")

=IF(AND(L2 <>"fortnightly", S2 <4), "Completion Letter", "Insufficient Letter")
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Hi there
I'm attempt to create an argument based on 2 criteria
I have these 2 argument working. what I want to do is combine them together so they are one single argument. Can anyone assist?

=IF(AND(L2 <>"monthly", S2 <2), "Completion Letter", "Insufficient Letter")

=IF(AND(L2 <>"fortnightly", S2 <4), "Completion Letter", "Insufficient Letter")

Try This

Code:
=IF(OR(AND(L2 <>"monthly", S2 <2),AND(L2 <>"fortnightly", S2 <4)), "Completion Letter", "Insufficient Letter")

Regards

Bolo
 
Upvote 0
Hi there
I'm attempt to create an argument based on 2 criteria
I have these 2 argument working. what I want to do is combine them together so they are one single argument. Can anyone assist?

=IF(AND(L2 <>"monthly", S2 <2), "Completion Letter", "Insufficient Letter")

=IF(AND(L2 <>"fortnightly", S2 <4), "Completion Letter", "Insufficient Letter")
Maybe this...

=IF(OR(AND(L2<>"monthly",S2<2),AND(L2<>"fortnightly",S2<4)),"Completion Letter","Insufficient Letter")
 
Upvote 0
Thanks that worked great. However I would like to move one step further
based on this, I want to modify it.

IF A:Bs is =>3 "Default letter" or the rest of the argument stands

=IF(OR(AND(L2 ="monthly", S2 <=2),AND(L2 ="fortnightly", S2 <=4)), "Completion Letter", "Insufficient Letter")
 
Upvote 0
Thanks that worked great. However I would like to move one step further
based on this, I want to modify it.

IF A:Bs is =>3 "Default letter" or the rest of the argument stands

=IF(OR(AND(L2 ="monthly", S2 <=2),AND(L2 ="fortnightly", S2 <=4)), "Completion Letter", "Insufficient Letter")
Not sure what this means:

:confused:
 
Upvote 0
Sorry my bad,

IF AB2 is =>3 "Default letter" or the rest of the argument stands

=IF(OR(AND(L2 ="monthly", S2 <=2),AND(L2 ="fortnightly", S2 <=4)), "Completion Letter", "Insufficient Letter")
 
Upvote 0
Sorry my bad,

IF AB2 is =>3 "Default letter" or the rest of the argument stands

=IF(OR(AND(L2 ="monthly", S2 <=2),AND(L2 ="fortnightly", S2 <=4)), "Completion Letter", "Insufficient Letter")
Try this...

=IF(AB2>=3,"Default letter",IF(OR(AND(L2="monthly",S2<=2),AND(L2 ="fortnightly",S2<=4)),"Completion Letter","Insufficient Letter"))
 
Upvote 0

Forum statistics

Threads
1,224,597
Messages
6,179,809
Members
452,944
Latest member
2558216095

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top