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

Dúvidas sobre cálculos, funções simples e aninhadas, fórmulas matriciais, etc.
  • Avatar do usuário
Avatar do usuário
Por GENECI
Avatar
#64756
Bom dia.

Solicito a sua ajuda, conforme o arquivo anexo.
Invertendo as datas, a fórmula funciona perfeitamente.

Grato - Geneci.
Você não está autorizado a ver ou baixar esse anexo.
#64757
Código: Selecionar todos
=SE(DATADIF(B5;A5;"y")=0;"";DATADIF(B5;A5;"y")&" Anos   ")&SE(DATADIF(B5;A5;"ym")=0;"";DATADIF(B5;A5;"ym")&" Meses ")&SE(DATADIF(B5;A5;"md")=0;"";DATADIF(B5;A5;"md")&" Dias")
#64758
Muito obrigado por responder a pergunta.
Por favor, há possiblidades de retornar com o texto no início e fim da fórmula.

Resultado desejado: Faltam XX Anos XX Meses XX Dias para o vencimento da CNH.

Grato.
#64759
Sure ;)
Código: Selecionar todos
="Faltam "&SE(DATADIF(B5;A5;"y")=0;"";DATADIF(B5;A5;"y")&" Anos ")&SE(DATADIF(B5;A5;"ym")=0;"";DATADIF(B5;A5;"ym")&" Meses ")&SE(DATADIF(B5;A5;"md")=0;"";DATADIF(B5;A5;"md")&" Dias")&" para o vencimento da CNH"
#
ou
Código: Selecionar todos
="Falta(m) "&SE(DATADIF(B5;A5;"y")=0;"";DATADIF(B5;A5;"y")&" Ano(s), ")&SE(DATADIF(B5;A5;"ym")=0;"";DATADIF(B5;A5;"ym")&" Mês(es) e ")&SE(DATADIF(B5;A5;"md")=0;"";DATADIF(B5;A5;"md")&" Dia(s)")&" para o vencimento da CNH."
GENECI agradeceu por isso
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