Returning the next date that matches the criteria

Corleone

Well-known Member
Joined
Feb 2, 2003
Messages
841
Office Version
  1. 365
Hi
Im currently using the formula below to return the latest date from the source data that matches the criteria as there are in some cases multiple records with the same

=MAXIFS('All Milestone Report'!$W$2:$W$20000,'All Milestone Report'!$U$2:$U$20000,V23)

is there a way of adjusting it so that it picks up the earliest date but also ensuring that it only looks for dates on or after today

Thanks
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Maybe
Excel Formula:
=MINIFS('All Milestone Report'!$W$2:$W$20000,'All Milestone Report'!$W$2:$W$20000,">="&TODAY(),'All Milestone Report'!$U$2:$U$20000,V23)
 
Upvote 0
That works - Thank you
Maybe
Excel Formula:
=MINIFS('All Milestone Report'!$W$2:$W$20000,'All Milestone Report'!$W$2:$W$20000,">="&TODAY(),'All Milestone Report'!$U$2:$U$20000,V23)
[/QUOTE]
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,339
Messages
6,124,375
Members
449,155
Latest member
ravioli44

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