+ Reply to Thread
Results 1 to 2 of 2

Copy VLOOKUP Formular without table array ref changing

  1. #1
    Registered User
    Join Date
    05-26-2009
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    36

    Copy VLOOKUP Formular without table array ref changing

    Hi All

    I have managed to write the following formular

    =VLOOKUP((C10),'Roster Codes'!A4:B22,2,FALSE)

    what i need to do now is copy it across a months worth of roster, but when trying to click and drag it changes the C10 ref as expected (and wanted) to the next corresponding Cell, but it also changes the Table Ref?!?

    Is there a way to lock the table ref, it seems silly that a formular that reads from a fixed data table would assume that the table moves from its original position.

    I have 22 staff and need this formular on every day on the year for all staff. the purpose is to calculate hours.
    For example: C10 shows D, then the lookup would search table and give result 12
    LV=8
    D=12
    N=12

    i was using a long IF formular but i now have over 7 different data possiblities

    any help appreciated

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Copy VLOOKUP Formular without table array ref changing

    Hi,
    have a look at absolute references
    Your formula should be =VLOOKUP(C10,'Roster Codes'!$A$4:$B$22,2,FALSE)

+ 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