Return Min and Max using multiple IF conditions

Jazz Jones

New Member
Joined
Mar 13, 2017
Messages
13
Office Version
  1. 365
Platform
  1. Windows
In Column A, I have team function, in Column H I have Status, in Column S, I have Weeks Active.

I need to return the minimum and maximum values in S (not including 0) if A = "Chief Operating Office" AND H = "Active"

Does anyone know how to get this going? I'm dying inside trying to figure it out.

Thanks
Jasmine
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
in Excel 2016 you have MAXIFS. However, for earlier versions you can use an array formula I think:

Code:
{=MAX(IF(A:A="Chief Operating Office",IF(H:H="Active",S:S)))}

Enter with Ctrl+Shift+Enter (don't try and enter the {} yourself. Similar solution for MIN.

WBD
 
Upvote 0
This has sorted it and allowed me to create some awesome-looking graphs and charts. Thank you - really appreciate the help.
 
Upvote 0
Another question, along a similar vein... I'm currently using the below formula to calculate min/max information for the active dataset. However, I now need to pull it from past data as well. There are two types of past data, one is "Future Joiner" and one is "Starter Commenced" - I know that these will replace the 'Active' condition under Type but I don't know how to get the information from BOTH options. Is this easily doable?


=MIN(IF(Table2[Function]="Retail & Digital",IF(Table2[Type]="Active",Table2[Calculated Full Weeks Active])))
 
Upvote 0
Untested but it might work:

=MIN(IF(Table2[Function]="Retail & Digital",IF(Table2[Type]="Future Joiner",Table2[Calculated Full Weeks Active],IF(Table2[Type]="Starter Commenced",Table2[Calculated Full Weeks Active]))))

WBD
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,843
Members
449,193
Latest member
MikeVol

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top