Forum Discussion

lesasp's avatar
lesasp
Copper Contributor
May 27, 2021
Solved

Xlookup - If_not_found not working

Hi, I have created the following formula using XLOOKUP, however, the if_not_found does not seem to be working correctly, continuing to return a N/A, instead of a 'zero' if the value is not present in...
  • HansVogelaar's avatar
    HansVogelaar
    May 27, 2021

    lesasp 

    How about

     

    =IFERROR(SUM(XLOOKUP(J3,'M&E Data'!A:A,'M&E Data'!B:B):XLOOKUP(Calculations!J3,'M&E Data'!A:A,XLOOKUP(BSC!$V$3,'M&E Data'!B$3:M$3,'M&E Data'!B:M),0)),0)