A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hi @Lucas Caiã Hahn.
Please understand that our forum is a public platform, and we will modify your question to cover your personal information including your organization name in the description. Please notice to hide these organization information next time you post error or some information to protect personal data.
Regarding your issue, when you use the & operator to concatenate text with a date/time function like AGORA() (or NOW() in English), Excel doesn't carry over the date formatting instead, it returns the raw serial number that Excel uses to store dates internally. That's why you're seeing something like 46162,3912282407 instead of a formatted date.
The solution is to wrap AGORA() inside the TEXTO() function (or TEXT() in English) to format the date before it gets concatenated.
For English Excel:
="Sample Text "&TEXT(NOW(),"DD/MM/YYYY HH:MM")
Or in Portuguese Excel:
="Sample Text "&TEXTO(AGORA();"DD/MM/AAAA HH:MM")
This converts the date/time into the formatted text first and then joins it with the rest of the string.
Note: Since your Excel is in Portuguese, make sure to use semicolons (;) as the argument separator. If AAAA doesn't work for the year, try YYYY instead it may vary depending on your Excel version.
Hopefully it will help work with your issue and if you have any other questions or need further assistance, feel free to ask.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.