Forum Discussion

TheOldPuterMan's avatar
TheOldPuterMan
Brass Contributor
Mar 08, 2022
Solved

XLOOKUP Not returning expected value

I have a simple problem that has been perplexing me for two days. I need to look up data in a column from last to first and when I find the first non-zero cell, extract the date from a different colu...
  • Lorenzo's avatar
    Lorenzo
    Mar 09, 2022

    Hi TheOldPuterMan 

     

    As harshulz mentioned no way to pass something like ">0" as lookup_value to XLOOKUP. If you want to "find the first non-zero cell" from last-to-first:

     

    in B2:

    =XLOOKUP(1,SIGN(I4:I35),B4:B35,Month_Start_Date,0,-1)

Resources