+ Reply to Thread
Results 1 to 2 of 2

Lookup up values

Hybrid View

  1. #1
    Registered User
    Join Date
    09-03-2006
    Posts
    5

    Lookup up values

    I have done this before but can’t remember how. I think I used vlookup but any help will be appreciated. What I want to do is figure a commission base on the number of units sold on new and used units. The minimum commission should be $125.00. C30 equals the total number of units. Column H2 should figure the commission for new base on the gross in column E2 of $490.00 x 32.5% based on the 14 units.
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by Bubba
    I have done this before but can’t remember how. I think I used vlookup but any help will be appreciated. What I want to do is figure a commission base on the number of units sold on new and used units. The minimum commission should be $125.00. C30 equals the total number of units. Column H2 should figure the commission for new base on the gross in column E2 of $490.00 x 32.5% based on the 14 units.
    The lookup for this will require that your table remains sorted, and is

    =VLOOKUP( units , table , column-across , true )

    where 'units' is the cell that contains the number of units sold
    table can be a Named Range table or a range address E10:F15 or Sheet2!E10:E15 etc
    'column-across' is the column number from within the array, 1=Units, 2=Rate
    and 'True' says take the closest (under this figure) match.
    (specifically: If TRUE or omitted, an exact or approximate match is returned. If an exact match is not found, the next largest value that is less than lookup_value is returned)

    so, in the cell that will hold the commission rate, the formula

    =VLookup(C$30, table ,2,true)

    where 'table' is your table should go close.

    hth
    ---

+ 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