1000165 in words is written as :

One Million One Hundred and Sixty Five