cells are numbers with a decimal point the code struggles
Please share that Number on which the code fails for testing purpose