Find the 2 Lowest of 3 numbers, nested If statement

Posted on 2013-07-01
Medium Priority
Last Modified: 2013-07-01

I had a request to change how I was figuring out skin measurements in a physical test. There is a minimum of 2 measurements and possibly a 3rd (If you don't fall within 1 cm from the 2nd and 1st measurement, they measure a 3rd time). If there are 2 measurements (using my count formula), then I need to take the average of those 2 numbers. If there is a count of 3 measurements, I need to take the 2 lowest measurements and average the 2.

I came up with this, but I think the small() is incorrect. It looks like it is returning the 2nd smallest number, not the lowest and 2nd to lowest numbers.


Thanks for any  help! Brent
Question by:bvanscoy678
  • 3
  • 2
LVL 81

Expert Comment

by:zorvek (Kevin Jones)
ID: 39292029
Use this formula:


LVL 81

Expert Comment

by:zorvek (Kevin Jones)
ID: 39292032
It turns out that SMALL ignores blank cells so this works too:


LVL 81

Accepted Solution

zorvek (Kevin Jones) earned 2000 total points
ID: 39292035
This formula will display blank if there are only one or no measurements:



Author Comment

ID: 39292039
The last one is perfect! I can eliminate one of my columns and merge the two. Thank you for the quick response!


Author Closing Comment

ID: 39292041

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question