+ Reply to Thread
Results 1 to 3 of 3

Change hourly rate wihout affecting previous table entries VLOOKUP

  1. #1
    Registered User
    Join Date
    01-03-2012
    Location
    Oswego, NY
    MS-Off Ver
    Excel 2010
    Posts
    2

    Change hourly rate wihout affecting previous table entries VLOOKUP

    I have searched for two weeks, and can't seem to find the solution to this problem. It seems there is likely and easy solution, yet somehow it is escaping me.

    I have a spreadsheet set up with a data table, from which I generate a pivot table, to track overtime costs. The data table has a column which contains a VLOOKUP that pulls the overtime rate from a named range on a separate worksheet, based on the employee's last name.

    Occassionally, due to promotions and /or contractual pay increases (steps), I need to increase the hourly rate for an employee. Of course, when I do this, the VLOOKUP changes all of the previous entries in the data table for that employee to reflect the new rate. This obviously makes my overtime stats inaccurate.

    How can I update the employee's hourly rate in the named range, without affecting the previous (already entered) data table entries??

    Any help is greatly appreciated.

    Mike

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Change hourly rate wihout affecting previous table entries VLOOKUP

    One approach would be to include an "effective_date" column in the rate range.
    Also include an as_of_date field in the data table.

    Then you could build a formula that returns the employee rate in effect at the as_of_date.

    If you'd like to use that approach, but need assistance...just ask.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    01-03-2012
    Location
    Oswego, NY
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Change hourly rate wihout affecting previous table entries VLOOKUP

    Thanks Ron for the quick reply... crazy week and I wasn't able to check until today.

    I already have a date field in the data table. When overtime is worked, it is entered into the table along with the date it was worked. I would, however, appreciate any help you could give with constructing the formula. I'm not clear on how to add the effective date to the pay rate range. Should it be a new column, or as a new row beneath the employee name?

+ 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