Forum Discussion

Nick_W1890's avatar
Nick_W1890
Copper Contributor
Feb 13, 2023

Only populate a cell if the date is yesterday or older...

Hi, All   We are using formulas to pull data from other sources to populate an 'as built' record of works completed on site.  However, the surveyors working for the client keep predicting works for...
  • HansVogelaar's avatar
    Feb 13, 2023

    Nick_W1890 

    Perhaps

     

    =IF(OR(XLOOKUP([@Name],'McLH As built - Pile logs'!A:A,'McLH As built - Pile logs'!I:I)=0,XLOOKUP([@Name],'McLH As built - Pile logs'!A:A,'McLH As built - Pile logs'!I:I)>=TODAY()),"",XLOOKUP([@Name],'McLH As built - Pile logs'!A:A,'McLH As built - Pile logs'!I:I))

     

    or if you have Microsoft 365 or Office 2021:

     

    =LET(d, XLOOKUP([@Name],'McLH As built - Pile logs'!A:A,'McLH As built - Pile logs'!I:I), IF(OR(d=0, d>=TODAY()), "", d)

Resources