Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88178

Handling errors for "Small" function in excel, when the length of array is less than the array provided

$
0
0

I am trying to consider only the least few in an array of some X number's, i am getting #NUM! error when the function cannot find the length specified.

Example- Small(range,{1,2,3}) here the range of cells that contain numeric value is "range" and {1,2,3} is the 3 smallest number to be considered, what happens if the range has only 2 digits instead of 10.

Any advises will be helpful. I was expecting a solution where the number can be made adjusted from the numerics available.

Here is the best example i can give

Please refer this image for exactly what i am doing


Viewing all articles
Browse latest Browse all 88178

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>