+ Reply to Thread
Results 1 to 3 of 3

Help fix my Vlook please

  1. #1
    Registered User
    Join Date
    01-08-2004
    Posts
    12

    Help fix my Vlook please

    What is the best way for me to create a vlookup or other function that will allow me to create an easy frontend that will emulate this table.

    -------------------------------Term
    % owed-------[--------30 25 20 15
    97.01 to 100 % [------A C E G
    90.01 to 97% [--------B D F H
    85.01 to 90% [--------C E G I
    85% or less [----------E G H J


    This is just the initial part of another Vlookup I am working on. I want the user to be able to enter the Term of the contract in 1 cell and the % oed in another and have the formula return the coresponding group letter. For Example if someone owes 86% and has a 20 year term term the formula should return "G".

    I tried making the below formula work. D32=term and D33=% owed

    =IF(D32=30,VLOOKUP(D33,Sheet3!A1:B1501,2,IF(D32=25,VLOOKUP(D33,Sheet3!A1:E1501,2,IF(D32=20,VLOOKUP(D33,Sheet3!A1:E1501,4,IF(D32=15,VLOOKUP(D33,Sheet3!A1:E1501,5))))))))

    the table referenced is on another sheet and looks like this
    100.00 A C E G
    99.99 A C E G
    99.98 A C E G
    99.97 A C E G
    99.96 A C E G
    99.95 A C E G

    the problem I am running into is when I change the term in cell D32 to anything other than 30 the formula returns false. Can anybody point out my error or offer a better way to do this? Thanks in advance guys.
    Last edited by Mycotopian; 08-07-2007 at 05:03 PM.

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Hi,

    the attached shows how the index Match works Down and Across the Index table.

    note, see Sheet1, and perhaps try some different letters and rates in the Table.

    hth
    ---
    Attached Files Attached Files
    Last edited by Bryan Hessey; 08-08-2007 at 04:37 AM.
    Si fractum non sit, noli id reficere.

  3. #3
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    How about this?
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

+ 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