J
Joe
Does anyone know if this formula can be shortened?
=IF(E13>0,ROUND(E13*(1+(YEAR(D13)<=1994)*$C$2)*(1+(YEAR
(D13)<=1995)*$D$2)*(1+(YEAR(D13)<=1996)*$E$2)*(1+(YEAR
(D13)<=1997)*$F$2)*(1+(YEAR(D13)<=1998)*$G$2)*(1+(YEAR
(D13)<=1999)*$H$2)*(1+(YEAR(D13)<=2000)*$I$2)*(1+(YEAR
(D13)<=2001)*$J$2)*(1+(YEAR(D13)<=2002)*$C$5)*(1+(YEAR
(D13)<=2003)*$D$5)*(1+(YEAR(D13)<=2004)*$E$5)*(1+(YEAR
(D13)<=2005)*$F$5)*(1+(YEAR(D13)<=2006)*$G$5)*(1+(YEAR
(D13)<=2007)*$H$5)*(1+(YEAR(D13)<=2008)*$I$5)*(1+(YEAR
(D13)<=2009)*$J$5)*(1+(YEAR(D13)<=2010)*$C$8)*(1+(YEAR
(D13)<=2011)*$D$8)*(1+(YEAR(D13)<=2012)*$E$8),5)
+0.0000001,0)
Thanks for all the support and help with this and other
problems
Joe
=IF(E13>0,ROUND(E13*(1+(YEAR(D13)<=1994)*$C$2)*(1+(YEAR
(D13)<=1995)*$D$2)*(1+(YEAR(D13)<=1996)*$E$2)*(1+(YEAR
(D13)<=1997)*$F$2)*(1+(YEAR(D13)<=1998)*$G$2)*(1+(YEAR
(D13)<=1999)*$H$2)*(1+(YEAR(D13)<=2000)*$I$2)*(1+(YEAR
(D13)<=2001)*$J$2)*(1+(YEAR(D13)<=2002)*$C$5)*(1+(YEAR
(D13)<=2003)*$D$5)*(1+(YEAR(D13)<=2004)*$E$5)*(1+(YEAR
(D13)<=2005)*$F$5)*(1+(YEAR(D13)<=2006)*$G$5)*(1+(YEAR
(D13)<=2007)*$H$5)*(1+(YEAR(D13)<=2008)*$I$5)*(1+(YEAR
(D13)<=2009)*$J$5)*(1+(YEAR(D13)<=2010)*$C$8)*(1+(YEAR
(D13)<=2011)*$D$8)*(1+(YEAR(D13)<=2012)*$E$8),5)
+0.0000001,0)
Thanks for all the support and help with this and other
problems
Joe