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 EvandroRodrigues
Posts
#9828
Bom dia!
Existe alguma forma de fazer a função Dia.da.Semana retornar o dia da semana (Ex: Quinta-feira) ao invés de um número?
A forma que consegui fazer isto foi utilizando a função Se, conforme abaixo, mas não gosto desta forma.

SE(DIA.DA.SEMANA(A2;1)=1;"Domingo";SE(DIA.DA.SEMANA(A2;1)=2;"Segunda";SE(DIA.DA.SEMANA(A2;1)=3;"Terça";SE(DIA.DA.SEMANA(A2;1)=4;"Quarta";SE(DIA.DA.SEMANA(A2;1)=5;"Quinta";SE(DIA.DA.SEMANA(A2;1)=6;"Sexta";SE(DIA.DA.SEMANA(A2;1)=7;"Sabado";"")))))))
Avatar do usuário
Por FelipeMGarcia
Avatar
#9829
Evandro, vc pode criar uma tabela auxiliar e fazer um procv.

Abraços
Avatar do usuário
Por Reinaldo
Avatar
#9831
Pode Experimentar: Formate a(s) celula(s) que deseja o retorno tipo Personalizado-->ddddd
Ou ainda =ESCOLHER(DIA.DA.SEMANA(A2);"Dom";"Seg";"Ter";"Qua";"Qui";"Sex";"Sab")
Por EvandroRodrigues
Posts
#9838
Reinaldo escreveu:Pode Experimentar: Formate a(s) celula(s) que deseja o retorno tipo Personalizado-->ddddd
Ou ainda =ESCOLHER(DIA.DA.SEMANA(A2);"Dom";"Seg";"Ter";"Qua";"Qui";"Sex";"Sab")
:P :P É disto que eu estava falando Reinaldo, muito obrigado! :D :D
Por orosolin2
Posts
#9844
Costumo usar a função ESCOLHER() ou CHOOSE() com o primeira alternativa. Depois seria usar PROCV() ou VLOOKUP().

Abs.
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