Forum Discussion

joel70's avatar
joel70
Copper Contributor
Mar 10, 2022
Solved

Xlookup - next current date

Hi Guys,   I am looking for how to pull in the next most recent date with an Xlookup.   I have 2 columns, 1 with project numbers and then another column with the date. How can I get Xlookup to b...
  • OliverScheurich's avatar
    Mar 11, 2022

    joel70 

    =INDEX($B$1:$B$24,LARGE(IF($A$1:$A$24=D2,ROW($1:$24)),IF(SUMPRODUCT(N($A$1:$A$24=D2))>1,2,1)))

    An alternative could be above formula. Enter the formula with ctrl+shift+enter if you don't work with Office365 or 2021.