+ Reply to Thread
Results 1 to 2 of 2

VLOOKUP function #REF error

  1. #1
    Registered User
    Join Date
    03-31-2008
    Posts
    28

    VLOOKUP function #REF error

    I have a spreadsheet with multiple pages that all reference the first page.
    1st page) mast list of all real estate properties with categories of data
    2nd page) everything is categorized from the building class (a, b, or c)
    3rd page is where i want the VLOOKUP function to occur.

    on all the pages following the first page i have it automatically pull the name so it doesn't have to be typed out everytime.

    what i want to have happen on the third page is have it look at the name of the property in the B column, compare it to the name on either the first or second page and find the match, then go over x columns to find the building class so i can use it within a formula to find the average percentage of each building class.

    my formula i'm trying to use it:
    Please Login or Register  to view this content.
    B4=the name of the property on the third page. it's what i want the vlookup function to find on either the first or second page
    'Units by Class'!B3:30 = the page and column of where the names are located on the second page i want it to search through
    7 = the column of building class letters that i want it to identify and spit out

    what am i doing wrong?

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    The Ref error is because your lookup table range is 1 column wide, when it should be at least 7 columns wide.

    You should also include the 4th argument, FALSE, so that it finds only an exact match.

    i.e. =VLOOKUP(B4,'Units By Class'!B3:H30,7,FALSE)
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1