Need help with a long complex if formula

ac66bronco

New Member
Joined
Dec 10, 2014
Messages
29
Good morning. This will be my first post ever however I have used this forum many many times thanks to google search and have found this forum to simply be invaluable. I am so thank full that it exists.

I work for a bank so I use excel all day everyday.

Any way I have a very long if formula that I am having trouble with.

Here is what I need it to do.


i. If MTG_BAL = 0 and CORP_3RDPARTY_BAL < 1,000, then “a-Claim Liquidated”
ii. If MTG_BAL = 0 and CORP_3RDPARTY_BAL => 1,000, then “a-Claim”
iii. If “MTG_BAL” <> 0 and “FRCLS_SALE_DATE” <> blank, then “b-Foreclosure Sale”
iv. If “MTG_BAL” >0 and “FRCLS_SALE_DATE” = blank, then use below
1. If “PAID_TO_DATE” is less than 5 months from file date then “e-Current”
(Ex. for May 31st any loan with paid to date 2/1/2014 or after)
2. If “PAID_TO_DATE” is greater than or equal to 5 months and less than 8 months from file date then “d-90-179 Days Delinquent”
(Ex. for May 31st any loan with paid to date 1/1/2014, 12/1/2013, or 11/1/2013)
3. If “PAID_TO_DATE” is greater than or equal to 8 months from file date then “c-180+ Days Delinquent”
(Ex. for May 31st any loan with paid to date 10/1/2013 or before)


So far my formula appears to be working ok until I his iv and from there I am stuck.

my formula so far is this.

=IF(AND(Y299=0,AD299<1000),"a-Claim Liquidated",IF(AND(Y299=0,AD299>1000),"a-Claim",IF(AND(Y299<>0,NOT(ISBLANK(Q299))),"b-Foreclosure Sale",IF(AND(Y299>0,ISBLANK(Q299),R299<date(year($b$1),month($b$1)+5,day($b$1))),"e-current",if(and(y299>0,ISBLANK(Q299),R299>=DATE(YEAR($B$1),MONTH($B$1)+5,DAY($B$1)),R299<date(year($b$1),month($b$1)-8,day($b$1))),"d-90-179 days="" delinquent")))))

QRYAD
FRCLS_SALE_DATE

<tbody>
</tbody>
PAID_TO_DATE

<tbody>
</tbody>
MTG_BAL

<tbody>
</tbody>
CORP_3RDPARTY_BAL

<tbody>
</tbody>
Result should return
Not usedNot used0.000.00
a-Claim Liquidated

<tbody>
</tbody>
Not usedNot used0.00
8,406.60

<tbody>
</tbody>
a-Claim

<tbody>
</tbody>
7/9/2014Not used
28,651.48

<tbody>
</tbody>
-4,591.62

<tbody>
</tbody>
b-Foreclosure Sale

<tbody>
</tbody>
Blank
7/1/2013

<tbody>
</tbody>
18,915.75

<tbody>
</tbody>
Not used
e-Current

<tbody>
</tbody>
Blank
6/1/2014

<tbody>
</tbody>
38,284.44

<tbody>
</tbody>
Not used
d-90-179 Days Delinquent

<tbody>
</tbody>
Blank
4/1/2014

<tbody>
</tbody>
37,133.61

<tbody>
</tbody>
Not used
c-180+ Days Delinquent

<tbody>
</tbody>

<tbody>
</tbody>

Above is some of the data that is used. Also the File dat is 11/30/2014

Any help or suggestions would be greatly appreciated!!!

Edit eww sorry for the ill table I've never done one on a forum before and it copied and pasted over bad.</date(year($b$1),month($b$1)-8,day($b$1))),"d-90-179></date(year($b$1),month($b$1)+5,day($b$1))),"e-current",if(and(y299>
 
Last edited:

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
GOT IT DOWN TO TWO ERRORS!!!!

And they were the 2 that were already marked as exceptions!

I changed 5 and 8 to 4 and 7 and it was 99.99999999% accurate!

Thank you all for your help!
 
Upvote 0

Forum statistics

Threads
1,215,491
Messages
6,125,101
Members
449,205
Latest member
ralemanygarcia

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top