Xlookup not working

Hi there. One of my formulas isn't working and I can't work out why. Any ideas?

iMac (M3, 2023)

Posted on Sep 11, 2024 12:31 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 11, 2024 5:02 AM

HayleyHatzi wrote:

The size is not always a number, it could be XL, so do you suggest automatic?


XLOOKUP(search-value,search-range,return-range,if-not-found)


Make sure search-value and search-range are not different data formats.


Automatic works in many cases, but In your case setting both search-value and search-range to Text is probably the most reliable approach.


SG




4 replies
Question marked as Top-ranking reply

Sep 11, 2024 5:02 AM in response to HayleyHatzi

HayleyHatzi wrote:

The size is not always a number, it could be XL, so do you suggest automatic?


XLOOKUP(search-value,search-range,return-range,if-not-found)


Make sure search-value and search-range are not different data formats.


Automatic works in many cases, but In your case setting both search-value and search-range to Text is probably the most reliable approach.


SG




This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Xlookup not working

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.