Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 1012

How to convert a simple VLOOKUP to XLOOKUP in Excel?

$
0
0

The VLOOKUP works as intended. The XLOOKUP is giving "#NAME" error:

xlookup failure

screenshot of the formula:

excel

the working VLOOKUP:

=VLOOKUP(C12,B24:C29,2,FALSE)

Which I'm reading as "take the value from c12", look at the table B24:C29, lookup the second column.

the not functional XLOOKUP:

=XLOOKUP(C11,B24:B29,C24:C29)

which I'm reading as:

lookup the value in C11, Find the value in the range B24:B29, return the corresponding value in C24:C29.

Possibly I've made a typo, but maybe I'm not understanding the XLOOKUP function sufficiently.

Primarily I'm using Microsoft Co-Pilot and then also reading tutorials.

I'll use the Markdown editor, but a copy paste of data:

Client Name SKU Item NameMcGowan 294211  =XLOOKUP(C11,B24:B29,C24:C29)Grossman    327064  =VLOOKUP(C12,B24:C29,2,FALSE)Chamberlain 446741   Vong    643081   Williams    294211   Hicks   446741   Singh   306862   Zach    643081   Li  446741   Totals       SKU Description Price294211  Leather sectional   1399306862  Entertainment center    809.99327064  Media cabinet   379.99446229  Suede recliner  1099.99446741  End table set   467.99643081  Dining table    599.99

Viewing all articles
Browse latest Browse all 1012

Latest Images

Trending Articles



Latest Images