Calculating Mode, Min with a criteria

smalik

Board Regular
Joined
Oct 26, 2006
Messages
180
Office Version
  1. 365
Platform
  1. Windows
The formula in M15 calculates the mode of the month based on the criteria of Policy ID. Data source is in B4:B43

I am getting the desired results using the Array formula. I am not a big fan of Array formulas as they hog up space and slowed down the calculations when the data set is too big. Is there a way to get the desired results without using an Array formula?

Formulas in M, N, & O are similar array formulas. Please Ignore L3:P9 as here I was calculating the values manually to see if my array formula was was working correctly.

Any help is greatly appreciated.

Best.

1602516611180.png
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
If you're using excel 2019 (or newer) then you could possibly use MINIFS and MAXIFS instead of MIN and MAX arrays.
There is no non array alternative for mode with criteria.
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,487
Members
448,967
Latest member
visheshkotha

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