Forum Discussion
MrBig1964
Jun 02, 2021Copper Contributor
XLOOKUP Strange Behaviour
I'm trying to use XLOOKUP function using an excel table where I make the search. This table as the first column formatted as Text as it will acomodate data that needs to be formatted this way. The XL...
- Jun 02, 2021
As a comment, if both lookup value and lookup column are texts, when this works
=XLOOKUP( CodArt3, CHAR(173)&Table3[H1], XLOOKUP(E26,Table3[#Headers],Table3) )
Better
=XLOOKUP( ""&CodArt3, ""&Table3[H1], XLOOKUP(E26,Table3[#Headers],Table3) )
which works for combination of texts and numbers.
SergeiBaklan
Jun 02, 2021Diamond Contributor
As a comment, if both lookup value and lookup column are texts, when this works
=XLOOKUP(
CodArt3,
CHAR(173)&Table3[H1],
XLOOKUP(E26,Table3[#Headers],Table3)
)
Better
=XLOOKUP(
""&CodArt3,
""&Table3[H1],
XLOOKUP(E26,Table3[#Headers],Table3)
)
which works for combination of texts and numbers.