Hi,
Try using a VLOOKUP formula instead. Start by creating a table
somewhere in your workbook with your input numbers in column 1 and the
corresponding period number in column 2, then:
=VLOOKUP(A3,your table,2,0)
HTH
JG
--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile:
http://www.excelforum.com/member.php...fo&userid=6261
View this thread:
http://www.excelforum.com/showthread...hreadid=479359