Multiple Conditions Using Multiple Values

davo1224

New Member
Joined
Dec 12, 2010
Messages
11
Hi Excel Forum,

I was wondering if anyone could help. I have two values for which a couple of conditions need to be met for there to then be an end result. Sorry if that sounds poorly worded.

Using specifics, (I'm using the letter O, not the number 0)

If T= 1 and O is less than 4, then I need "N" to appear.
If T= 2 or 3, and O is less than 3, then I need "N" to appear.
If T= 4, and O is less than 1, then I need "N" to appear.
Otherwise if none of these conditions are met, I need "Y" to appear.

I'm getting stuck on where to include the desired value if the multiple IF statements are true. Could anyone help me out please? Thanks in advance.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
=if(and(t1=1,o1<4),"n",if(and(or(t1=2,t1=3),o1<3),"n",if(and(t1=4,o1<1),"n","y")
 
Upvote 0

Forum statistics

Threads
1,224,502
Messages
6,179,126
Members
452,890
Latest member
Nikhil Ramesh

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