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
Por Supergbr
#58249
Olá Amigos,

Presaria comparar uma base de dados com outra base para ver se são iguais.
Teria quer ser pelo cep, e depois pela rua. Pelo CEP eu já consegui.
Em anexo esta o exemplo
PARA VALIDAR.xlsx tenho que procurar em BASE PARA CONSULTA.xlsx se o cep é compativel e depois validar o endereço.

Seria possível a ajuda de alguém?

Abbraço a todos
Você não está autorizado a ver ou baixar esse anexo.
Avatar do usuário
Por Estevaoba
Avatar
#58251
Experimente em E2 da planilha PARA VALIDAR:
Código: Selecionar todos
=SE(OU(É.NÃO.DISP(CORRESP(D2;'[BASE PARA CONSULTA.xlsx]Planilha1'!C$2:C$20;0));É.NÃO.DISP(CORRESP(B2;'[BASE PARA CONSULTA.xlsx]Planilha1'!A$2:A$20;0)));"NÃO";"SIM")
Copie para preencher a coluna.

Good luck!
Por Supergbr
#58282
E ai Estevaoba,

Funcionou direitinho, para aumentar a quantidade de linhas tanto no planilha "Para Validar" e "Base Para consulta" basta alterar "[BASE PARA CONSULTA.xlsx]Planilha1'!C$2:C$20;0" e aqui [BASE PARA CONSULTA.xlsx]Planilha1'!A$2:A$20;0)))", a quantidade é variado.

Abraço
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