Is there a way to find Mx date based on multiple values in cell

andyka

Board Regular
Joined
Sep 20, 2021
Messages
52
Office Version
  1. 2019
Platform
  1. Windows
Hi
I have the following data. I wants to find the maximum data from End Date column based on matching multiple and randon values in predecessor column. Values in predecessor columns are based on task number in column F.
I tried several formulas but no Joy. Any Help from experts please.

Book1.xlsx
FGHIJKLMNOPQRSTUVWXYZAAABACADAEAF
2
3=INDEX($H$6:$H$21, MATCH(1, ($F$6:$F$21 = I6) * (ROW($F$6:$F$21) >= ROW(I6)), 0)) requires cnt+shift+entre
4=IFERROR(AGGREGATE(14, 6, INDEX($H$6:$H$21, MATCH(I6, $F$6:$F$21, 0)) / (($I$6:$I$21 = I6) * (INDEX($H$6:$H$21, MATCH(I6, $F$6:$F$21, 0)) <> "")), 1), "No match found") works for single value in column I, ct+shi+entre
5TaskStart DateEnd DtaePredecessorsResult
619/2/2316/2/232,3No match found
729/2/2316/2/236No match found
8320/2/2327/2/237No match found
9423/1/2330/1/237No match found
10531/1/237/2/238No match found
1168/2/2315/2/23No match found
12726/1/232/2/23No match found
1386/2/2313/2/23No match found
1492/2/239/2/2313,11No match found
151015/2/2322/2/23No match found
161114/2/2321/2/23No match found
171212/2/2319/2/236No match found
18131/2/238/2/23No match found
191410/2/2317/2/23No match found
201511/2/2318/2/236No match found
21168/2/2315/2/23No match found
Sheet1
Cell Formulas
RangeFormula
J6:J21J6=IFERROR(INDEX($H$6:$H$21, MATCH(SMALL(IFERROR((IF(FIND(",",I6), LEFT(I6,FIND(",",I6)-1), I6))=$F$6:$F$21, MATCH((IF(FIND(",",I6), LEFT(I6,FIND(",",I6)-1), I6)),$F$6:$F$21,0)), ROW(INDIRECT("1:1"))), $F$6:$F$21, 0)), "No match found")
Press CTRL+SHIFT+ENTER to enter array formulas.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,214,990
Messages
6,122,625
Members
449,093
Latest member
catterz66

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