that should work as long as b5:b14 haven't any spaces or other invisible characters in ,post a sample workbook