Hello Abdel,
There are possible reasons why you encountered this issue when formatting the CSV file in Excel. It may be caused by the CSV file itself being a plain text file. For us to help you with your concern, we suggest that you do the manual setting of cell formatting to numbers. Kindly check this article for the steps on how to do the formatting of numbers.
If you have any questions, feel free to post it here and we'll be happy to assist you.
If you think this was helpful, do not hesitate to "mark it as answer" to help those who are facing the same problem.