Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hello, I have an excel spreadsheet with 7 colums,(State,LTV,Lien,DTI,FICO LB and Grade).The first Five columns are given, and I need to determine the value of Column 6( grade) This can take the values Prime, ALT or AA. State LTV Lien DTI FICO Loan Balance Grade KY 100 1 33.02 653 147388.25 ALT AZ 100 1 40.78 666 131938.73 IL 93.33 1 29.13 660 164859.52 MO 100 2 42.54 601 138830.91 NC 90 1 29.69 506 93950.63 MO 95 1 37.49 616 151658.03 FL 99.39 1 38.41 719 15 9135.24 NM 89.6 1 41 577 178078.42 VA 90 2 38.42 604 150441.51 IN 100 2 42 600 226520.34 WA 94.81 2 25.75 615 143956.19 MO 100 1 40 759 186061.59 CA 95 1 47.58 608 143255.75 MO 89.31 1 34.24 574 114620.97 HA 100 1 29.09 780 128953.62 NY 75 1 46 592 24658.43 GA 60 1 40 544 24619 I need to embede a button on the side of the table, and the code behind the button will allow me to grade the loans. Business rules: If FICO 700 and Lien=1 and DTI <45 Then Grade = Prime if Fico 600 and Lien = 1 Then Grade= Alt If Fico = 525 and Lien =1 or 2 Then Grade = AA If FICO < 525 Grade is fail NB I will need a loop too coz I never know how many rows I will receive Thanks -- oscarooko ------------------------------------------------------------------------ oscarooko's Profile: http://www.excelforum.com/member.php...o&userid=28116 View this thread: http://www.excelforum.com/showthread...hreadid=476248 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
do anybody have a sample code for executing excel macro from vb code?<eom | Excel Programming | |||
stubborn Excel crash when editing code with code, one solution | Excel Programming | |||
Word VBA Code to Excel Code | Excel Programming | |||
Excel XP VBA code to search all macro code in Excel module for specific search string criteria | Excel Programming | |||
Excel XP VBA code to search all macro code in Excel module for specific search string criteria | Excel Programming |