Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks,
Rick anwers is the most suitable one while sorry topper yours is not working -- Sincerely Yours Haviv "Rick Rothstein (MVP - VB)" wrote: I have four five each contain number 5, 2, 3, 4, 6 in cell A1 to E1. Now in a new cell let's say B1 i need to select the minum positive value from below formula formula 1 A1-B1 = 3 formula 1 A1-C1 = 2 formula 1 A1-D1 = 1 formula 1 A1-E1 = -1 How do i develop a formula to be able to show the value of (A1-D1) which is the minimum positive value. Probably not the most compact formula, but it does seem to do what you asked... =MIN(IF(A1-B1<=0,1E+300,A1-B1),IF(A1-C1<=0,1E+300,A1-C1),IF(A1-D1<=0,1E+300,A1-D1),IF(A1-E1<=0,1E+300,A1-E1)) Rick |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
finding maximum, minimum in a range consists both Positive and Negative numbers | Excel Worksheet Functions | |||
Finding non contiguous positive values | Excel Worksheet Functions | |||
How can I add a + sign to a positive result of a calculation? | Excel Discussion (Misc queries) | |||
Cell formula where result to be Positive only | Excel Discussion (Misc queries) | |||
Finding negative and positive diffrence | Excel Worksheet Functions |