Formula

Ben S

Board Regular
Joined
Oct 21, 2002
Messages
124
Hi i need to add these two formulas together but don't know how to do it. Please help.

=IF(AND(I5="YES",J5="YES",K5="YES",L5="NO"),"YES","NO")

OR

=IF(AND(I5="YES",J5="NO",K5="NO",L5="NO"),"YES","NO")
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Iridium

Well-known Member
Joined
Jul 15, 2002
Messages
2,831
On 2002-11-05 06:43, Ben S wrote:
Hi i need to add these two formulas together but don't know how to do it. Please help.

=IF(AND(I5="YES",J5="YES",K5="YES",L5="NO"),"YES","NO")

OR

=IF(AND(I5="YES",J5="NO",K5="NO",L5="NO"),"YES","NO")

Give this a go -

=IF(AND(I5="YES",J5="YES",K5="YES",L5="NO"),"YES",IF(AND(I5="YES",J5="NO",K5="NO",L5="NO"),"YES","NO"))
 

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
Try this:

=IF(AND(I5="YES",OR(J5="YES",J5="NO"),OR(K5="YES",K5="NO"),L5="NO"),"YES","NO")
 

Forum statistics

Threads
1,147,451
Messages
5,741,202
Members
423,648
Latest member
steel1968

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
Top