Using the MIN and MAX Functions in Excel

An error occurred trying to load this video.

Try refreshing the page, or contact customer support.

Coming up next: Using the COUNT Function in Excel

You're on a roll. Keep up the good work!

Take Quiz Watch Next Lesson
Your next lesson will play in 10 seconds
  • 0:02 MIN & MAX Functions
  • 0:40 Using MIN & MAX in Formulas
  • 1:42 Using Single Cells…
  • 2:54 Combining with the IF Function
  • 6:05 Lesson Summary
Save Save Save

Want to watch this again later?

Log in or sign up to add this lesson to a Custom Course.

Log in or Sign up

Speed Speed Audio mode
Lesson Transcript
Instructor: Karen Sorensen

Karen has a Bachelors in Communications. She has 25 years of experience in Information Systems, Adult Learning and Virtual Training.

Looking in a cell range of numbers to find the smallest number, or the largest, can be time consuming and inefficient. This lesson will introduce you to the MIN and MAX functions in Excel and demonstrate how to use them in formulas.

MIN and MAX Functions

The MIN and MAX functions are just what the names imply. MIN will find the lowest number in a range, while MAX finds the largest number in a range. One advantage to these functions is that they can be combined with the IF function. Combining functions means writing a formula that is a bit more complex, but is nevertheless handy in some worksheets.

In this lesson, you will learn how to use the MIN and MAX functions. We will take a look at using them in formulas. And, we will also look at examples where the MIN and MAX functions are used in combination with the IF function.

Using MIN and MAX in Formulas

Let's begin. Imagine you own a cookie-making business, Best Cookies on the Block. You created a worksheet, and over the last eight weeks you tracked the total orders for each cookie. Now, you need a couple formulas. You want to see the largest and the smallest orders.

Worksheet for example
worksheet for example

Looking at the example worksheet, you have entered the cookie names in column C and the number of orders is in column D. In cells B3 and B4, you would like to insert the formulas using MIN and MAX. Let's start with the MIN formula in B3. This would be =MIN(D3:D12). The result will be the number that is the smallest. Then, in B4, to determine the largest order, we can enter a similar formula using the MAX function: =MAX(D3:D12). Perfect. Let's keep going.

Using Single Cells References and Numbers

In the previous topic, we looked at example formulas using a cell range, such as D3:D12. However, you can also use a single cell reference and/or actual numbers in your formulas. You can also add other operators and calculations to the formula. Let's take a look at another example.

Assume that you already know your top three cookies: chocolate chip, peanut butter and the gingersnap. The order totals are in D3, D6 and D11, respectively. You want the formula to look in only those three cells, rather than the entire range. Let's use the MAX function and find the largest order among the top three. So, we would enter =MAX(D3,D6,D11).

Notice that you can enter individual cell references, rather than an entire range. You could also write the formula with numbers and cell references, such as =MAX(D3,D6,51). Okay, moving on to something a bit more complex.

Combining with the IF Function

I want to take the MIN and MAX functions one step further and use them in combination with the IF function. These type of formulas are more complex, but I will break it down to simplify the process. Going back to our worksheet of cookie orders, let's assume that you want to see the MAX for one particular cookie type: chocolate chip. For instance, the largest order for chocolate chip cookies.

Now, you can definitely type in each individual cell reference for the chocolate chip cookies, such as =MAX(D3,D4,D7,D10). But imagine the worksheet is filled with data, with a long list of orders for chocolate chip cookies. Identifying each cell reference in order to write the formula would be time consuming. Especially when we can write a formula that will look for and find just the chocolate chip orders, and then tell you what total is the largest among just those orders.

To unlock this lesson you must be a Member.
Create your account

Register to view this lesson

Are you a student or a teacher?

Unlock Your Education

See for yourself why 30 million people use

Become a member and start learning now.
Become a Member  Back
What teachers are saying about
Try it risk-free for 30 days

Earning College Credit

Did you know… We have over 200 college courses that prepare you to earn credit by exam that is accepted by over 1,500 colleges and universities. You can test out of the first two years of college and save thousands off your degree. Anyone can earn credit-by-exam regardless of age or education level.

To learn more, visit our Earning Credit Page

Transferring credit to the school of your choice

Not sure what college you want to attend yet? has thousands of articles about every imaginable degree, area of study and career path that can help you find the school that's right for you.

Create an account to start this course today
Try it risk-free for 30 days!
Create an account