Forum Discussion

Eng_Noah's avatar
Eng_Noah
Brass Contributor
Feb 12, 2024
Solved

Excel - Return value based on multiple criteria and date ranges

Good day, everyone.   I am almost finished migrating to MS Excel from Google (company decision). I have a spreadsheet that automates a great chunk of work for me based on just two data entries: Ent...
  • PeterBartholomew1's avatar
    Feb 12, 2024

    Eng_Noah 

    = MAP(entryDate, itemSearched, LAMBDA(entry,search,
          XLOOKUP(entry, IF(itemCode=search, effectiveDate), return,"not found",-1)
      ))

    where the defined names are based on the column headings.

Resources