Nesting "AND" and "OR"

Yokiboha

Board Regular
Joined
Feb 21, 2007
Messages
207
I have for columns and am trying to create a formula that will place "X" in the first column if:

2nd column is greater than 11 and the third column is greater than 85(regardless of the value in the fourth column), or the 2nd column is greater than 11 and the forth column is less than 1.5 (regardless of the value in the third column)

Is this possible? I would be very grateful for help.
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
2nd column is greater than 11 and the third column is greater than 85(regardless of the value in the fourth column), or the 2nd column is greater than 11 and the forth column is less than 1.5 (regardless of the value in the third column)

Assuming values in B2:D2 try this formula in A2

=IF(AND(B2>11,OR(C2>85,D2<1.5)),"X","")
 
Upvote 0
Barry, many thanks.

I thought I had tried that when I saw your post, but clearly hadn't!

I am most grateful.
 
Upvote 0

Forum statistics

Threads
1,213,554
Messages
6,114,280
Members
448,562
Latest member
Flashbond

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