Hi Walori,
So basically your method will work if none of the numbers in the list are 0, right? In my particular case many numbers in the file could be zero, so I guess I cannot use this approach. This was originally the method I had thought of before asking the forum. Anyway, thank you very much for the reply. I appreciate the effort.