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
ListenData Logo
Spread the Word!
Share
Related Posts
About Author:
Deepanshu Bhalla

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

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

Post a Comment

Next → ← Prev
Looks like you are using an ad blocker!

To continue reading you need to turnoff adblocker and refresh the page. We rely on advertising to help fund our site. Please whitelist us if you enjoy our content.