Hi everyone!
I think what I'm trying to do is relatively simple but I can seem to figure out what's going on. I'm trying us XLOOKUP to return an array using the following:
=XLOOKUP(A1,sheet2!A5:Z5,sheet2!A6:Z150)
It works as intended as long as the lookup value in A1 is hard coded, but as soon as I change it to the formula I need it to be(=B1-1), I get an #N/A error. The formula returns the same value, but for some reason XLOOKUP now can't find it in the lookup array?
Maybe I'm wrong but I don't think I'm attempting anything crazy here. The lookup array and return array are all static values and the lookup value is a single or two-digit integer.
What am I missing?
Thanks in advance!
Bookmarks