1
You must convert to text using the TEXT function, see below:
=CONCATENAR("Codigo: ";A1;" - Data: ";TEXTO(B1;"dd/MM/aaaa HH:mm"))
1
4
You must convert to text using the TEXT function, see below:
=CONCATENAR("Codigo: ";A1;" - Data: ";TEXTO(B1;"dd/MM/aaaa HH:mm"))
2
With the data:
+---+---------+-------------+
| | A | B |
+---+---------+-------------+
| 1 | 9630638 | 43145,57861 |
+---+---------+-------------+
With the formula of concatenating =CONCATENAR("Codigo: ";A1;" - Data: ";B1)
the result is Codigo: 9630638 - Data: 43145,5786111111
This is because Excel is using cell data B1
as number, then just convert it to date format to get the date: =TEXTO(B1;"dd/mm/aaaa hh:mm:ss")
So you can concatenate with this formula: =CONCATENAR("Codigo: ";A1;" - Data: ";TEXTO(B1;"dd/mm/aaaa hh:mm:ss"))
And the result is: Codigo: 9630638 - Data: 14/02/2018 13:53:12
Browser other questions tagged excel string-concatenation fórmula
You are not signed in. Login or sign up in order to post.
Possible duplicate of Excel days function Dates does not work
– danieltakeshi
Try to put in the format
Data
– danieltakeshi
Nothing. It hasn’t worked yet
– adventistaam
Edit the question with the formula you are using to concatenate in the column
D
– danieltakeshi
I edited the question
– adventistaam