Minifs with OR criteria

Setofskills

New Member
Joined
Aug 17, 2015
Messages
9
I'm trying to create a list of unique project numbers that have outstanding invoices. I have a data query which pulls data into my Data! tab, the query returns the age of the invoices in date range buckets (eg <60 days, 61-90 days, >90 days).

That is, column L has the amount of money owed that is less than 60 days outstanding, column M has the money owed that is 61-90 days old, and column N has money owed that's more than 90 days old.

I'm calling the data values on the Data! tab and trying to list them in numerical order with the minifs function. To do that, I'm trying to find the first value and I can't figure this part out.

I'm trying to get a function similar to these (except one that works!):
=Minifs(Data!$E:$E,OR(Data!$L:$L,Data!$M:$M,Data!$N:$N,"<>"&0)

This also doesn't work:
=Minifs(Data!$E:$E,Data!$L:$N,"<>"&0)

This also doesn't work:
=Minifs(Data!$E:$E,{Data!$L:$L,Data!$M:$M,Data!$N:$N},"<>"&0)

My issue is that I need an OR criteria on the range, I need the smallest project number that has any old debt outstanding. How do I do this!?

Any help will be greatly appreciated!
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Hi

Unless I'm mistaken you intend 'OR(Data!$L:$L,Data!$M:$M,Data!$N:$N' to basically take that row's value from whichever column is filled, L, M or N ...

Then you could try to use an array formula to merge the columns by summing the arrays, like
Data!$L:$L+Data!$M:$M+Data!$N:$N (and then enter the formula with CTRL+SHIFT+ENTER)

However I'm now sure how you intend to sort them, I believe minifs would only give you the smallest amount/invoice, not sort all items
 
Upvote 0

Forum statistics

Threads
1,223,880
Messages
6,175,157
Members
452,615
Latest member
bogeys2birdies

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