Hi Anit,
Thanks for the reply.
It turned out that we have a person who is maintaining these xlsx files and using copy and paste from somewhere else.
what happened is that some of the fields ended up with hidden characters in them and this is what was causing the errors.
Thanks for looking into this.