Excel 365 - Vlookup issue

%3CLINGO-SUB%20id%3D%22lingo-sub-2000701%22%20slang%3D%22en-US%22%3EExcel%20365%20-%20Vlookup%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2000701%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F906159%22%20target%3D%22_blank%22%3E%40safikul6190%3C%2FA%3E%20_%20While%20using%20Excel%20365%2C%20wherein%20during%20V%20lookup%20function%2C%20the%20col_index_num%20%2F%20table%20array%20details%20are%20not%20displayed%20as%20it%20used%20to%20be%20while%20using%20the%20previous%20version%20of%20Excel%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2000701%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2000766%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20365%20-%20Vlookup%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2000766%22%20slang%3D%22en-US%22%3Ecan%20anyone%20help%20with%20this%20issue%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2003843%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20365%20-%20Vlookup%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2003843%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F906159%22%20target%3D%22_blank%22%3E%40safikul6190%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECould%20you%20please%20be%20more%20concrete%2C%20what%20exactly%20is%20wrong%3F%20Small%20sample%20file%20could%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2004755%22%20slang%3D%22en-US%22%3ERe%3A%20Excel%20365%20-%20Vlookup%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2004755%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F521%22%20target%3D%22_blank%22%3E%40Sergei%20Baklan%3C%2FA%3E%2C%20when%20you%20apply%20the%20function%20vlookup%3D(lookup_value%2Ctable_array%2Ccol_index_num%2C%5Brange_lookup%5D)%2C%20post%20selection%20the%20table_array%20or%20the%20data%20you%20are%20able%20to%20see%20the%20col_index_num%20field%20next%20to%20the%20highlighted%20area%20in%20the%20previous%20version%20which%20you%20enter%20so%20that%20you%20can%20get%20the%20value%20from%20the%20column%20you%20are%20looking%20for.%20However%2C%20in%20Excel%20365%20the%20selection%20field%20is%20not%20highlighted%20and%20you%20have%20to%20manually%20count%20the%20column%20or%20have%20to%20enter%20number%20value%20at%20the%20top%20of%20the%20table%20to%20recognize%20the%20column%20you%20need%20the%20value%20from.%20This%20seems%20to%20an%20issue%20with%20Excel%20365%20and%20not%20with%20any%20file.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

@safikul6190 _ While using Excel 365, wherein during V lookup function, the col_index_num / table array details are not displayed as it used to be while using the previous version of Excel

6 Replies
can anyone help with this issue

@safikul6190 

Could you please be more concrete, what exactly is wrong? Small sample file could help.

@Sergei Baklan, when you apply the function vlookup=(lookup_value,table_array,col_index_num,[range_lookup]), post selection the table_array or the data you are able to see the col_index_num field next to the highlighted area in the previous version which you enter so that you can get the value from the column you are looking for. However, in Excel 365 the selection field is not highlighted and you have to manually count the column or have to enter number value at the top of the table to recognize the column you need the value from. This seems to an issue with Excel 365 and not with any file.

You could use the Columns function instead of hard coding the column number. That might make it easier to see what column is being returned without having to count columns. Also, the formula would be resistant to columns being inserted into the table and shifting the column you want to return to the right (so, instead of column 2 it becomes column 3).
=VLOOKUP(E1,A1:D10,COLUMNS(A1:C10),0)

Or, you could use Index/Match (or the new xlookup if you have it) instead of vlookup, which would make it easier to tell what column is being returned.
=INDEX(C1:C10,MATCH(E1,A1:A10,0))

@safikul6190 

If you are an Excel 365 user, why not switch to XLOOKUP?  It is better than VLOOKUP in almost all respects.

@safikul6190 

In support to previous posts, with XLOOKUP it's as easy as

=XLOOKUP(date, Table[Date], XLOOKUP(shopName, Table[#Headers],Table), "no such")

if shopName is one of columns name from which you'd like to return the value.