Forum Discussion

Clive_Rabson's avatar
Clive_Rabson
Brass Contributor
Jun 10, 2024
Solved

Finding the Latest date in a range of dates

With thanks to: Peter Bartholomew; djclements and Sergei Baklan.  I am nearly finished on this project that must find the earliest, latest and peak dates in a range of dates.  I now need to...
  • SergeiBaklan's avatar
    Jun 11, 2024

    Clive_Rabson 

    Criteria which columns to select is in MOD( COLUMN(...

    To select every 4th row in the range we may use criteria

    MOD(COLUMN($D3:$AQ3) - COLUMN($D3)+1,4)=0

    entire formula

    =AGGREGATE(14,6, $D3:$AQ3 /( (MONTH($D3:$AQ3)*100+DAY($D3:$AQ3)) = AGGREGATE(14,6,( MONTH($D3:$AQ3)*100+DAY($D3:$AQ3) )/(MOD(COLUMN($D3:$AQ3) - COLUMN($D3)+1,4)=0),1)  ),1)

Resources