MINIF alternative

Arlind123

New Member
Joined
Nov 3, 2021
Messages
21
Platform
  1. Windows
Hi,

Was hoping I could get some help with getting minif formula.

I was initially using below formula, on my laptop using office but doesn't seem to work on excel 16.

=MINIFS(Review!B:B,Review!F:F,"Urgent")
=minifs(Date,priority,”X”)

I'm using 2sheets.
Sheet 1 is like a dashboard, and sheet 2 contains data.

Formula is for two columns.
Column B is dates, Column text

The data I'm trying to pull in this is: if Column B is *urgent* the earliest date on column F is given.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
MINIFS function is available only in Excel 2019 and MS 365. You might be able to get a solution here if you post some sample data using XL2BB.

This is an array formula that achieves the same result as MINIFS but is slower in calculating.
Book1.xlsm
ABCD
11
223
33URGENT
44
55
66URGENT
77URGENT
88
99
1010
Sheet2
Cell Formulas
RangeFormula
D2D2=MIN(IF(B1:B10="URGENT",A1:A10))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Trying to do this for more than one column in same sheet but doesn't seem to work.

I.e pull information for urgent as you have on D2, and additional on D3
 
Upvote 0
Trying to do this for more than one column in same sheet but doesn't seem to work.

I.e pull information for urgent as you have on D2, and additional on D3
Post some sample data using XL2BB (click on XL2BB on the reply toolbar) with an explanation of what you want as a result and maybe we can help you.
 
Upvote 0
example1.xlsx
ABCDE
3
4EggsAndBacon
5Total Routine
6Oldest date
7Total Urgent
8Oldest date
9
10
Dashboard
 
Upvote 0
example1.xlsx
ABC
1Random01/10/2021Urgent
2text02/10/2021Routine
3generated03/10/2021Routine
4here04/10/2021Urgent
5to 05/10/2021Urgent
6give06/10/2021Urgent
7example07/10/2021Routine
8example08/10/2021Urgent
9example09/10/2021Routine
10example10/10/2021Urgent
11example11/10/2021Routine
12example12/10/2021Routine
13example13/10/2021Routine
14example01/01/2020Routine
Eggs
 
Upvote 0
so as above, Id like to have 4 sheets, one called dashboard. Which will pull data from other 3 sheets.

In this case, eggs and bacon.
I'd like to fill Dashboard without doing it manually.

I've been able to get total amount of sum count. The only problem I'm having is the minif alternative.
 
Upvote 0
Not sure, I fully understand your explanation of what you want. Focusing on the MINIFS alternative, is this what you want to find the Oldest Date? In your example, the oldest date for "Routine" would be 1/1/2020, is that correct? And for "Urgent" it would be 1/10/2021?
 
Upvote 0
This uses your example data from posts # 5 & 6 using two sheets in the same workbook named "Dashboard" and "Eggs" as shown below.
Note that the oldest date formulas should be entered using ctrl+shift+enter, not just enter if you are using a version of Excel earlier than 2019.
Book1.xlsm
ABCD
4EggsAndBacon
5Total Routine8
6Oldest date1/1/2020
7Total Urgent 6
8Oldest date10/1/2021
Dashboard
Cell Formulas
RangeFormula
B5B5=COUNTIF(Eggs!$C$1:$C$14,"Routine")
B6B6=MIN(IF(Eggs!$C$1:$C$14="Routine",Eggs!$B$1:$B$14))
B7B7=COUNTIF(Eggs!$C$1:$C$14,"Urgent")
B8B8=MIN(IF(Eggs!$C$1:$C$14="Urgent",Eggs!$B$1:$B$14))
Press CTRL+SHIFT+ENTER to enter array formulas.

Book1.xlsm
ABC
1Random10/1/2021Urgent
2text10/2/2021Routine
3generated10/3/2021Routine
4here10/4/2021Urgent
5to 10/5/2021Urgent
6give10/6/2021Urgent
7example10/7/2021Routine
8example10/8/2021Urgent
9example10/9/2021Routine
10example10/10/2021Urgent
11example10/11/2021Routine
12example10/12/2021Routine
13example10/13/2021Routine
14example1/1/2020Routine
Eggs
 
Upvote 0

Forum statistics

Threads
1,224,813
Messages
6,181,107
Members
453,021
Latest member
Justyna P

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