SOLVED

Formato personalizado: mm:ss,000

Copper Contributor

Boa noite!

Faço algumas tabela de estatísticas de corrida de kart e utilizo o formato personalizado para o tempo das voltas: mm:ss,000. Preciso concatenar este tempo de voltas com alguns textos. Quando tento copiar e colar como texto o valor 00:00,444 transforma no valor 5,13888888888786E-06. Para conseguir o que quero  estou levando o valor 00:00,444  para o Word, substituo a virgula por ponto, copio e salvo novamente no Excel. Então ele volta no formato: 00:00.444 e consigo concatenar e fica assim: Aparecido Arantes - 00:00:51.314 - 56.13km/h - 00:51.943 - 00:00.444 - 1 <= 2 => 2

Como consigo levar o tempo formatado mm:ss,000 como texto para o resultado final do concatenar?

2 Replies
best response confirmed by Cidoapis (Copper Contributor)
Solution

@Cidoapis You need to use the TEXT function for every element in the concatenation that needs to retain a certain number format. 

 

TEXT takes a number and allows you to specify the format within quote marks. In your example the lap time of 00:00.444 will be included as TEXT(cell_ref, "mm:s.000")

 

For an example, have a look at the picture below:

Screenshot 2022-05-19 at 05.15.12.png

Boa noite! Tive que usar assim: =C3&" laptime"&TEXTO(SOMATÓRIO!J18;"mm:ss,000")
Muito obrigado.
1 best response

Accepted Solutions
best response confirmed by Cidoapis (Copper Contributor)
Solution

@Cidoapis You need to use the TEXT function for every element in the concatenation that needs to retain a certain number format. 

 

TEXT takes a number and allows you to specify the format within quote marks. In your example the lap time of 00:00.444 will be included as TEXT(cell_ref, "mm:s.000")

 

For an example, have a look at the picture below:

Screenshot 2022-05-19 at 05.15.12.png

View solution in original post