Multiple IF AND Statements

danniaus

New Member
Joined
Jun 2, 2016
Messages
20
Hello

If I have the following sets of data

Cell K2 = 750000
Cell N9 = YES
Cell B32 = 15

What formula can I use to say the following

If Cell K2 >500000 and Cell N9 = YES and B32 is less than or equal to 20 then use the the value in cell B32, if it is greater than 20 then use 20

I hope that makes sense

Any help appreciated
 
Last edited:

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
This equates to

ZERO when either K2 or N9 conditions not satisfied

Otherwise to 20 OR the value in B32 when less that 20

=AND($K$2>500000,$N$9="YES")*MIN(20,$B$32)


To avoid the ZERO when K2 or N9 not satisfied

=IF(AND($K$2>500000,$N$9="YES"),MIN(20,$B$32),"")

NOTE
To drag the formula down a column you need to alter one or more absolute reference (perhaps replace $K$2 with K2)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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