I have a listing with three columns. i would like to select the middle value, not necessarily the median, of the three. If there are less than 3 values select the lowest value.
Set up like this:
Credit Scores Selection
Vendor 1 Vendor 2 Vendor 3
718 756 745 745
650 650 660 650
625 612 612
Any help would be appreciated.
Right now I created the following, but there has got to be something easier.
=IF(B4=C4,B4,IF(B4=D4,B4,IF(C4=D4,C4,IF(OR(AND(B4>C4,B4<D4),
AND(B4>D4,B4<C4)),B4,IF(OR(AND(C4>B4,C4<D4),AND(C4>D4,C4<B4)),C4,D4)))))
Set up like this:
Credit Scores Selection
Vendor 1 Vendor 2 Vendor 3
718 756 745 745
650 650 660 650
625 612 612
Any help would be appreciated.
Right now I created the following, but there has got to be something easier.
=IF(B4=C4,B4,IF(B4=D4,B4,IF(C4=D4,C4,IF(OR(AND(B4>C4,B4<D4),
AND(B4>D4,B4<C4)),B4,IF(OR(AND(C4>B4,C4<D4),AND(C4>D4,C4<B4)),C4,D4)))))