WarpathMechanic
New Member
Long time reader, HUGE fan of the site, First time poster:
Here is my dilemma. I have a date input cell (B2), and a Face Value for a product (B8). I need to calculate three different date ranges
Less than 45 days
45 days to 11 months
11 or more months
It also makes a difference whether or not this product is included in an overall package
B8 >0
B8<=0
So a table of my conditions would look like this
<45 days + B8>0 NTK
<45 term credit
45-11 + B8>0 NTK + 200 + adv eff date
45-11 term credit + 200
11+ + B8>0 NTK +adv eff date
11+ term credit
After some HEAVY nesting I come up with this IF statement:
=IF(AND(B2<TODAY()-45,B8>0),"NTK",IF(AND(B2<TODAY()-45,B8<=0),"Term Credit",IF(AND(B2>EDATE(TODAY(),-11),B2>TODAY()-45,B8>0),"NTK plus $200 plus adv eff date",IF(AND(B2>EDATE(TODAY(),-11),B2>TODAY()-45,B8<=0),"Term Credit plus $200",IF(AND(B2>EDATE(TODAY(),11),B8>0),"NTK and adv eff Date")))),"Term Credit")
But it constantly tells me I have too many arguments. Do I? Is there a way to simplify?
Here is my dilemma. I have a date input cell (B2), and a Face Value for a product (B8). I need to calculate three different date ranges
Less than 45 days
45 days to 11 months
11 or more months
It also makes a difference whether or not this product is included in an overall package
B8 >0
B8<=0
So a table of my conditions would look like this
<45 days + B8>0 NTK
<45 term credit
45-11 + B8>0 NTK + 200 + adv eff date
45-11 term credit + 200
11+ + B8>0 NTK +adv eff date
11+ term credit
After some HEAVY nesting I come up with this IF statement:
=IF(AND(B2<TODAY()-45,B8>0),"NTK",IF(AND(B2<TODAY()-45,B8<=0),"Term Credit",IF(AND(B2>EDATE(TODAY(),-11),B2>TODAY()-45,B8>0),"NTK plus $200 plus adv eff date",IF(AND(B2>EDATE(TODAY(),-11),B2>TODAY()-45,B8<=0),"Term Credit plus $200",IF(AND(B2>EDATE(TODAY(),11),B8>0),"NTK and adv eff Date")))),"Term Credit")
But it constantly tells me I have too many arguments. Do I? Is there a way to simplify?