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

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
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
Is there a way I can get it to count for two set things in same column.

Also if there is a count of 0, the minif formula shows as an error at the moment. Is there a way get it to show as - or 0
 
Upvote 0
As has already been asked a couple of times in the thread: Please post some sample data and expected results with XL2BB.

I also suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Book1
ABCD
1EggsAndBacon
2Total Routine0213
3Oldest date#NUM!01 January 202001 January 2020
4Total Urgent 0121
5Oldest date#NUM!10 October 201001 October 2021
Sheet1
Cell Formulas
RangeFormula
B2B2=COUNTIF(Eggs!$C$1:$C$14,"Routine")
C2C2=COUNTIF(And!$C$1:$C$14,"Routine")
D2D2=COUNTIF(Bacon!$C$1:$C$14,"Routine")
B3B3=AGGREGATE(15,6,Eggs!B1:B14/(Eggs!C1:C14="Routine"),1)
C3C3=AGGREGATE(15,6,And!B1:B14/(And!C1:C14="Routine"),1)
D3D3=AGGREGATE(15,6,Bacon!B1:B14/(Bacon!C1:C14="Routine"),1)
B4B4=COUNTIF(Eggs!$C$1:$C$14,"Urgent")
C4C4=COUNTIF(And!$C$1:$C$14,"Urgent")
D4D4=COUNTIF(Bacon!$C$1:$C$14,"Urgent")
B5B5=AGGREGATE(15,6,Eggs!B1:B14/(Eggs!C1:C14="Urgent"),1)
C5C5=AGGREGATE(15,6,And!B1:B14/(And!C1:C14="Urgent"),1)
D5D5=AGGREGATE(15,6,Bacon!B1:B14/(Bacon!C1:C14="Urgent"),1)
 
Upvote 0
Even though on Egg's tabs, there is a count of 0. It shows as #num! - is there a way to show as - or 0?
 
Upvote 0

Forum statistics

Threads
1,214,787
Messages
6,121,569
Members
449,038
Latest member
Guest1337

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