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
#68914
Boa tarde, conseguem ajudar, por favor?

Em uma Base, existem varias ordens de serviço e uma mesma ordem pode possuir mais de um status.
Como faço para quantificar pelo status?

Estou deixando um exemplo em anexo. Desde ja agradeço
Você não está autorizado a ver ou baixar esse anexo.
#68938
Experimente assim:
=CONT.SES($A$2:$A$7;A2;$B$2:$B$7;B2)
ou então, explique porque tem que dar aquele resultado.
[]s
#68947
Mestre Patropi, acho que ele precisa contar combinações únicas entre as colunas.
Na falta de uma fórmula mais elegante, vamos tentar esta:
Código: Selecionar todos
=SOMA(SOMARPRODUTO(CONT.SES([STATUS_ISTA];{"ATIVO";"CANCELADO"};[ORDEM_SRVC];[@[ORDEM_SRVC]]));SE(OU(CONT.SES([STATUS_ISTA];"ATIVO";[ORDEM_SRVC];[@[ORDEM_SRVC]])>1;CONT.SES([STATUS_ISTA];"CANCELADO";[ORDEM_SRVC];[@[ORDEM_SRVC]])>1);-1;0))
Good luck!
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