Share via

trying to use Vlookup function where table array and other table are subtotal tablels getting NA and Div#/0

Anonymous
2014-07-15T20:50:22+00:00

both of the tables are Part of a Subtotal Table(only want 2nd level of the subtotal table not entire table)I have a table that is the lookup table(table array) it has product ids that are #' s pull from Part of a text field - I copied and pasted as values using visible cells only - seems ok -Assume I have to do this - think since it is the common field(lookup value must Just be a value and not a calculation result???)

then go to the other table where i put the Vlookup function is - the common fields are the product ids - again they are numbers but made them text fields

also tried to make them both number fields but get same NA and Div#/0

 I have =Vlookup(g5,lookupnew,2,false)      lookupnew is the named range from the main subtotal table with only the 2nd level that I want showing???is this where the problem is???  g5 is where the common field is from the current table to compare to the lookupnew  named array.

I am trying to return the 2nd column of the tablearray and it is a %

so not sure if my problem is the subtotal table??? how can I just see the second level????

Having issure visible cells only and copy paste - when set to 2 level - subtotal first category messed up???

thanks,

bkel

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

1 answer

Sort by: Most helpful
  1. Ashish Mathur 101.9K Reputation points Volunteer Moderator
    2014-07-16T02:40:33+00:00

    HI,

    There is no mistake I can spot in your formula.  What are the dimensions of lookupnew?  Ensure that G5 has the same spelling as the entries in the first column of your named range (there should be no extra spaces?)

    Was this answer helpful?

    0 comments No comments