+ Reply to Thread
Results 1 to 4 of 4

Assigning specific value to a number range.

  1. #1
    Registered User
    Join Date
    06-20-2011
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    13

    Question Assigning specific value to a number range.

    Hello!

    I need help assigning a specific value to a number range. Our life insurance premiums are calucated by the employee's age. A specific rate used in the calculation is assigned according to age. Below are the rates used per age range:

    <30=0.21
    30-34=0.22
    35-39=0.26
    40-44=0.37
    45-49=0.54
    50-54=0.81
    55-59=1.36
    60-64=1.50
    65-69=2.51
    70-74=4.40
    75+=16.50

    The employee's age is listed in column D, I would like the rate to automatically populate in column P.

    Thanks in advance for all your help!!!

  2. #2
    Forum Contributor
    Join Date
    03-12-2012
    Location
    Singapore
    MS-Off Ver
    MS 365
    Posts
    532

    Re: Assigning specific value to a number range.

    Use Vlookup, for example, type 30.......75+ in Column A and the assigned rate at Column B, take note, that the Age must be from Smallest to biggest. Then use Vlookup, for example, =vlookup(C1,A1:B11,2,1). Where C1 is the cell u input the age.

  3. #3
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Assigning specific value to a number range.

    hi xceldummie,

    attached a worksheet for your reference. it is as per what jp16 has mentioned.

  4. #4
    Forum Contributor
    Join Date
    03-12-2012
    Location
    Singapore
    MS-Off Ver
    MS 365
    Posts
    532

    Re: Assigning specific value to a number range.

    However, u need to insert a the minimum age aso. Since minimun age is 0 and the rate is 0.21, therefore, ur data array should be.

    0 0.21
    30 0.22
    35 0.26
    40 0.37
    45 0.54
    50 0.81
    55 1.36
    60 1.5
    65 2.51
    70 4.4
    75 16.5

+ 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