Find Maximum Value Using Criteria In Excel

Suppose you have data for products, sales and regions.You are asked to figure out the maximum sales generated by Product B. The data is shown in the image below.


Download the workbook

 Assuming you have data in range B3:D14. (See the image below)


To calculate the maximum sales generated by Product B.
=MAX(IF(B3:B14="Product B",D3:D14))
Since the above formula is an array formula, press CTRL SHIFT ENTER to confirm it.

After pressing CTRL SHIFT ENTER, the formula will look like :
{=MAX(IF(B3:B14="Product B",D3:D14))}

 Multiple Criteria

To calculate the maximum sales generated by Product B in East region .


=MAX(IF((B3:B14="Product B")*(C3:C14="East"),D3:D14))
Since the above formula is an array formula, press CTRL SHIFT ENTER to confirm it.

After pressing CTRL SHIFT ENTER, the formula will look like :
{=MAX(IF((B3:B14="Product B")*(C3:C14="East"),D3:D14))}

Download the workbook
Related Posts
About Author:

Deepanshu founded ListenData with a simple objective - Make analytics easy to understand and follow. He has over 8 years of experience in data science. During his tenure, he has worked with global clients in various domains like Banking, Insurance, Telecom and Human Resource.

0 Response to "Find Maximum Value Using Criteria In Excel"

Post a Comment

Next → ← Prev
Love this Post? Spread the Word!
Share