1007161 in words is written as :

One Million Seven Thousand One Hundred and Sixty One