Find next date after today's date in a row but referencing a status

P_Wood

New Member
Joined
Oct 2, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello there,

I have a matrix (RCI style) of data where there are 4 dates across each row that represent deadlines for that line item for the year.
Next to that date is a status (in progress, not started, complete).

I want to pull into one column for each item the next deadline that is based on:
  • After todays date
  • Status of complete (otherwise keep date before todays date)
Right now I have the min formula which is pulling the next date after todays date =MIN(IF(Q5:BD5>$B$1,Q5:BD5))
 

Attachments

  • Matrix dates.JPG
    Matrix dates.JPG
    61.6 KB · Views: 18

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Hi and welcome to MrExcel

Try:
Excel Formula:
=LET(a,Q5:BD5,b,MAX(IF((P5:BC5="Complete")*(a>$B$1),a)),c,MIN(IF(a>$B$1,a)),IF(b>0,b,SI(c>0,c,"NA")))

🤗
 
Upvote 0
Excel Formula:
=MAX( B$1, MINIFS( O5:BD5, O$2:BD$2, "Due date", OFFSET( O5:BD5,, -1 ), "<>Complete" ))
 
Upvote 0

Forum statistics

Threads
1,223,719
Messages
6,174,089
Members
452,542
Latest member
Bricklin

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