Este fórum está sendo desativado

Depois de 9 anos, este fórum será desativado. Mas calma.... estamos migrando para uma comunidade no DISCORD. Junte-se a nós.

ENTRAR PARA DISCORD

Tudo que estiver relacionado ao Excel básico, como somar, calcular média, colocar bordas, etc.
  • Avatar do usuário
Por DWneto
#45566
Boa tarde, tenho que tratar os dados para depois exportar para um banco mysql.

Em umas das partes tenho: 20170502_080520

Tenho que deixar no formato de data/hora: 02/05/2017 08:05:20

Poderia me ajudar ?
Obrigado.
Por babdallas
#45571
Se esta data estiver da célula A1, então digite na B1
Código: Selecionar todos
=DATA(ESQUERDA(A1;4);EXT.TEXTO(A1;5;2);EXT.TEXTO(A1;7;2))+TEMPO(EXT.TEXTO(A1;10;2);EXT.TEXTO(A1;12;2);DIREITA(A1;2))
A partir do Excel 2013, você também pode usar o preenchimento relâmpago dando um exemplo e aí o Excel fará o restante do trabalho sujo.
Avatar do usuário
Por FelipeMGarcia
Avatar
#45578
=DATA(ESQUERDA(a1;4)*1;EXT.TEXTO(a1;5;2);EXT.TEXTO(a1;7;2))+TEMPO(EXT.TEXTO(a1;10;2);EXT.TEXTO(a1;12;2);DIREITA(a1;2))
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]

Estamos migrando para uma comunidade no Discord