SMALLIFS? (How to use SMALL function to behave as if it were SMALLIFS similar to SUMIFS/COUNTIFS?

MEUserII

Board Regular
Joined
Oct 27, 2017
Messages
91
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
  5. 2013
Platform
  1. Windows
Is there a way to use the SMALL function, so it works as if it were SMALLIFS? Specifically, both SUMIFS and COUNTIFS allow for dynamic range construction for the SUM calculation and COUNT calculation. I want to do the same thing with the SMALL function; how would I do this? I have listed some test data below to help explain what I am trying to do. _________[Column A]____[Column B]____[Column C]____[Column D]____[Column E] [Row 1]__[____a___]____[____b___]____[____d___]____[____f___]____[____5___] [Row 2]__[____a___]____[____b___]____[____d___]____[____f___]____[____4___] [Row 3]__[____a___]____[____b___]____[____d___]____[____g___]____[____3___] [Row 4]__[____a___]____[____b___]____[____e___]____[____g___]____[____2___] [Row 5]__[____a___]____[____c___]____[____e___]____[____g___]____[____1___] [Row 6]__ If I wanted to enter a formula in A6 that SUMs all values in Column E (E1:E5) with only the following conditions: Column A=a, Column b=c, Column C=e it would be: SUMIFS( $E$1:$E$5, $A$1:$A$5, A1, $B$1:$B$5, B1, $B$1:$B$5, B4) Which when evaluated is: = (2)+(1) (As in only E4 and E5 meet the conditions above.) How would I do this same thing for the SMALL function? Only take the SMALL function of the values in E ONLY where: Column A=a, Column B=c, Column C=e? Basically something like: SMALL( $E$1:$E$5, $A$1:$A$5, A1, $B$1:$B$5, B1, $B$1:$B$5, B4)???
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Forum statistics

Threads
1,215,478
Messages
6,125,040
Members
449,206
Latest member
Healthydogs

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