IF / AND statements w/3 conditions

fedgett

New Member
Joined
Aug 2, 2006
Messages
9
I'm trying to get a statement that would compare 3 numbers and select the lower of the three.
I have so far, =IF(AND(B1<B2,B1<B3),B1,IF(AND(B2<B3,B2<B1),B2)) .

but this only covers the first 2 numbers, and will return "FALSE" if the 3rd number is the lowest.
any help would be appreciated.

it does not seem to be posting the complete formula that I have?
=IF(AND(B1<B2,B1<B3),B1,IF(AND(B2<B3,B2<B1),B2))
 
Last edited:

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Greater than and less than signs cause problems with these forums, since they are interpreted in HTML. Put a space before and after these characters to ensure it copies over properly.

ex:
=IF(A1 > 0,B1,C1)
 
Upvote 0
Here is the op's formula:

IF(AND(B1<B2,B1<B3),B1,IF(AND(B2<B3,B2<B1),B2))
 
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,299
Members
452,904
Latest member
CodeMasterX

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