Originally Posted by
carstowal
I have 7 columns of numbers
I need to find the smallest number that is greater than Zero
the following formula is the best I can come up with,
IF((SMALL(R6:X6,1))>0,(SMALL(R6:X6,1)),IF((SMALL(R6:X6,2))>0,(SMALL(R6:X6,2)),IF((SMALL(R6:X6,3))>0,(SMALL(R6:X6,3)),IF((SMALL(R6:X6,4))>0,(SMALL(R6:X6,4)),IF((SMALL(R6:X6,5))>0,(SMALL(R6:X6,5)),IF((SMALL(R6:X6,6))>0,(SMALL(R6:X6,6)),(SMALL(R6:X6,7))))))))
problem is if I add or delete columns I have to change the formula.
Is there a better way?
Thanks
Bookmarks