+ Reply to Thread
Results 1 to 2 of 2

Vlookup Based on Years of Service, Rate and a Year Cap

Hybrid View

  1. #1
    Registered User
    Join Date
    01-22-2014
    Location
    Inglewood, California
    MS-Off Ver
    Excel 2010
    Posts
    6

    Vlookup Based on Years of Service, Rate and a Year Cap

    Hello All,

    I'm hoping I can get some help on this. I have been trying and still can't seem to have the right formula or logic. I did a vlookup based on years of service to get the rate but I also want to put in a logic that if the years of service is greater than 22, than the rate should reflect the rate showing in years of 22.

    Hope this make sense.



    Yrs. Of Service & Rates
    0 $33.32
    1 $34.16
    2 $35.02
    3 $35.89
    4 $36.78
    5 $37.71
    6 $38.65
    7 $39.62
    8 $40.61
    9 $41.62
    10 $42.67
    11 $43.00
    12 $43.33
    13 $43.65
    14 $43.95
    15 $44.25
    16 $44.53
    17 $45.22
    18 $45.92
    19 $46.62
    20 $47.79
    21 $48.98
    22 $50.21

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Vlookup Based on Years of Service, Rate and a Year Cap

    if cell your looking at is D1 and your vlookup table is A2:B24
    something like this would do

    Formula: copy to clipboard
    =IF(D1>21,50.21,VLOOKUP(D1,$A$2:$B$24,2,0))
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Formula to calculate pay rate based on years of service
    By abrice in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-30-2015, 10:46 PM
  2. Calculate Vacation Allowance based on years of service
    By Sassygirl44 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-29-2015, 03:47 PM
  3. [SOLVED] Formula to calculate years of service for next year (2015)
    By Kimston in forum Excel General
    Replies: 4
    Last Post: 12-03-2014, 04:48 AM
  4. [SOLVED] Calculate Totals Based on Age Restrictions & Years of Service
    By thenotoriousjeff in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-29-2014, 01:20 PM
  5. Need a vba code to check the status and based on rules calculate service years
    By baba_excel in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-19-2012, 09:03 PM
  6. [SOLVED] Formula to calculate years of service for next year
    By Kimston in forum Excel General
    Replies: 9
    Last Post: 12-13-2012, 06:40 PM
  7. [SOLVED] Return value based on years of service..UPDATED PART 2!
    By Coldshadow686 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-25-2012, 07:49 AM

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