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

Tópicos relacionados a códigos VBA, gravação de macros, etc.
  • Avatar do usuário
Avatar do usuário
Por GENECI
Avatar
#43678
Boa tarde!

Solicito a sua ajuda.

Na célula A1, tenho a data =hoje()
Na célula A2, considerando o dia, 05/05/2019 - Folga

Na célula A3, vou digitar uma data futura.
Favor elaborar uma fórmula na célula A4, a fórmula deve informar se o domingo é a folga ou o domingo de trabalho, informar também todos os dis da semana.

As folgas ocorrem todas as quintas-feiras e um domingo sim, um domingo não.

Grato - Geneci.
#43685
Olá, Geneci.

Veja se a fórmula abaixo atende.
Código: Selecionar todos
=SE(OU(DIA.DA.SEMANA(A3)=5;E(DIA.DA.SEMANA(A3)=1;ÉPAR((A3-A2)/7)));"folga";"trabalho")
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