Nested If Statement with date ranges
Hi Marlene,
Am Wed, 23 Dec 2015 17:02:01 +0000 schrieb Marlene Maffe:
If the dates are 01/01/2006 to 12/31/15 return 120
01/01/1995 to 12/31/05 return 160
01/01/1900 to 12/31/1994 return 200
try:
=IF(A1<=DATE(1994,12,31),200,IF(A1<=DATE(2005,12,3 1),160,120))
Regards
Claus B.
--
Vista Ultimate / Windows7
Office 2007 Ultimate / 2010 Professional
|