Forum Discussion

matt0020190's avatar
matt0020190
Brass Contributor
May 03, 2021
Solved

Get latest value from table based on multiple criteria

Hi all This one is driving me mad. Can anyone suggest a formula that will always get the latest value (and ignore blank values) from a table?   Week -----Period ------Value 1                   1...
  • PeterBartholomew1's avatar
    May 03, 2021

    matt0020190 

    Since I no longer use traditional spreadsheets, the Excel 365

    =XLOOKUP(1, (Week=4)*(Period=1)*ISNUMBER(Value), Value,,,-1)

    would be my preference, but

    =LOOKUP(2, 1/(Week=4)/(Period=1)/ISNUMBER(Value),Value)

    should still work.

Resources