Combining MIN IF

rchansen2001

New Member
Joined
Nov 30, 2016
Messages
28
I am trying to use the MIN formula to return the oldest date from column C if the two IF statements are true. Example of data below.

I have tried the following formulas in Excel 2010 but they didn't return the correct information. Any help is greatly appreciated.

=MIN(IF(D:D="Yes",AND(E:E="<= 14 Days",C:C,"")))
=MIN(IF(AND(D:D="Yes",(E:E="<= 14 Days"),C:C,""))
=MIN(IF(D:D="Yes",IF(E:E="<= 14 Days",C:C,"")))


ABCDE
1MemberClaim #Invoice DateYes / NoClaim Paid in # Days
2121238/1/18Yes> 14 Days and <= 30 Days
3423218/20/18Yes<= 14 Days
4361128/2/2018Yes> 14 Days and <= 30 Days
5411158/18/2018Yes<= 14 Days

<tbody>
</tbody>
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
How about this? =MIN(IF((D2:D5="Yes")*(E2:E5="<= 14 Days"),C2:C5))

This is an array formula, so control+shift+enter.
 
Upvote 0
@lrobbo314

My original formula worked when I tried control+shift+enter.

Thanks for your input.

The ones with AND in them won't work.

If you have MINIFS on your Excel, invoke a formula with that function for reasons of efficiency...

=MINIFS(C:C,D:D,"Yes",E:E,"<= 14 Days")
 
Upvote 0

Forum statistics

Threads
1,215,089
Messages
6,123,058
Members
449,091
Latest member
ikke

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