XL 2013 (RESOLU)Moteur de recherche a plusieurs critères

chaelie2015

XLDnaute Accro
Bonjour FORUM
Je cherche a afficher les résultats dans la feuille "New COCONTRACTANT" a partir de la feuille "New ETAT" selon des critères.
Nom du cocontractant (cellule F2) et année du contrat (cellule AF2) ou par trimestre (cellule AM2)
ci joint le fichier exemple.
A+
 

Pièces jointes

  • CHARLIE MOTEUR DE RECHERCHE.xlsx
    316.5 KB · Affichages: 9
Solution
Bonsoir chaelie2015,

On peut introduire le critère 1T 2T 3T 4T en AR2 en compliquant la définition du nom Test :
Code:
=(Tableau1[Col6]='New COCONTRACTANT'!$F$2)*SI(ESTNUM('New COCONTRACTANT'!$AH$2);Tableau1[Col3]='New COCONTRACTANT'!$AH$2;VRAI)*SI('New COCONTRACTANT'!$AR$2<>"";(GAUCHE(Tableau1[Col16];2)='New COCONTRACTANT'!$AR$2)+(GAUCHE(Tableau1[Col21];2)='New COCONTRACTANT'!$AR$2)+(GAUCHE(Tableau1[Col28];2)='New COCONTRACTANT'!$AR$2)+(GAUCHE(Tableau1[Col35];2)='New COCONTRACTANT'!$AR$2);VRAI)
A+

vgendron

XLDnaute Barbatruc
Hello

une proposition par Power Query
dans la feuille 2, tu choisis tes critères Constructeur et année, et clic droit actualiser sur le tableau
pas traité le trimestre;; vu qu'on ne sais pas où il faut chercher l'info

sinon.. les cellules fusionnées sur plusieurs colonnes, faut éviter.... ca fout le bordel
 

Pièces jointes

  • CHARLIE MOTEUR DE RECHERCHE.xlsx
    316.5 KB · Affichages: 3

job75

XLDnaute Barbatruc
Bonjour chaelie2015, vgendron,

Voyez le fichier joint.

Le tableau en 1ère feuille est un tableau structuré avec les en-têtes de colonnes Col1 Cil2 Col3 etc...

Le tableau en 2ème feuille a pu être rempli malgré les cellules fusionnées grâce aux noms définis Test et Lig.

A+
 

Pièces jointes

  • CHARLIE MOTEUR DE RECHERCHE(1).xlsx
    41.4 KB · Affichages: 4

job75

XLDnaute Barbatruc
Bonsoir chaelie2015,

On peut introduire le critère 1T 2T 3T 4T en AR2 en compliquant la définition du nom Test :
Code:
=(Tableau1[Col6]='New COCONTRACTANT'!$F$2)*SI(ESTNUM('New COCONTRACTANT'!$AH$2);Tableau1[Col3]='New COCONTRACTANT'!$AH$2;VRAI)*SI('New COCONTRACTANT'!$AR$2<>"";(GAUCHE(Tableau1[Col16];2)='New COCONTRACTANT'!$AR$2)+(GAUCHE(Tableau1[Col21];2)='New COCONTRACTANT'!$AR$2)+(GAUCHE(Tableau1[Col28];2)='New COCONTRACTANT'!$AR$2)+(GAUCHE(Tableau1[Col35];2)='New COCONTRACTANT'!$AR$2);VRAI)
A+
 

Pièces jointes

  • CHARLIE MOTEUR DE RECHERCHE(2).xlsx
    41.3 KB · Affichages: 8

Discussions similaires

Statistiques des forums

Discussions
312 236
Messages
2 086 477
Membres
103 230
dernier inscrit
herve42000