Error while doing Vlook up ( table array not getting selected )

Anonymous
2016-02-02T11:18:04+00:00

Hi 

the Problem is i am comparing 2 excel sheets . one of them is file converted from .txt format to Xlsx format.  when i am trying to compare the 2 sheets i am getting a red selection column when trying to select the table array and when i enter only the first value shows the results and the rest give a #NA error , 

i have checked the formatting for both the sheets and formatted it to general , used text to column to eliminate spaces , brought the data on the same excel sheet but nothing is working. check that the table array is giving value in Red the format for all the sheet is the same still nothing is working. Working on excel 2013

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2016-02-02T13:19:37+00:00

    In F2 use the formula 

    =VLOOKUP(E2,$A$2:$B$91,2,FALSE)

    or better still use

    =VLOOKUP(E2,A:B,2,FALSE)

    and copy the formula down...

    As shown by you the range A2:B91 changes to A3:B92 when copied down, since you are not using the $ to indicate you do not want to change the lookup data range...

    If this does not work then copy any value in Col A and paste it in E3... if you get the correct result in F3 then it means there is some difference in what you have in Col A and what you have in Col E.

    1 person found this answer helpful.
    0 comments No comments
Answer accepted by question author
  1. Vijay A. Verma 104.7K Reputation points Volunteer Moderator
    2016-02-02T13:24:14+00:00
    1. CTRL+C in any blank cell
    2. Select column A
    3. Paste Special > Add
    4. Input below formula in F2 and drag down -

    =VLOOKUP(E2,A:B,2,FALSE)

    0 comments No comments

0 additional answers

Sort by: Most helpful