# IF,s SMALLl and LARGE and number arangment

##### New Member
Good Day

Should be an easy one but need some help

Windows 7, Excel 2010

I have three columns A,B,C where the user enters measurements . These measurements need to be copied to D,E,F but when the smallest number is 30 or less the dimensions need to be arranged from the biggest Col D to smallest Col F. If the smallest number is bigger than 30 all measurements should be copied as is A=D B=E C=F

I am sure I can figure it out but have some time constraints. Let see who is the faster me or the board

Harry

### Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

#### CROY1985

##### Active Member
In D2: =IF(OR(\$A2<30,\$B2<30,\$C2<30),MAX(\$A2:\$C2),A2)
In E2: =IF(OR(\$A2<30,\$B2<30,\$C2<30),SUM(A2:C2)-D2-F2,B2)
In F2: =IF(OR(\$A2<30,\$B2<30,\$C2<30),MIN(\$A2:\$C2),C2)

##### New Member
Thank you SIr

The only Thing I changed,due to a circular refrence warning when I copied, was
In E2: =IF(OR(A2<30,B2<30,C2<30),LARGE(A2:C2,2),B2)

Thank you once again

#### CROY1985

##### Active Member
haha, thats what i wanted to use, but couldn't remember the Large bit!

Replies
2
Views
208
L
Replies
0
Views
261
Legacy 489849
L
Replies
24
Views
812
Replies
1
Views
201
Replies
15
Views
258

1,172,166
Messages
5,879,420
Members
433,427
Latest member
OutofOffice

### 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.

### Which adblocker are you using?

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

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