Ricerca a più condizioni con INDICE+CONFRONTA o con CERCA.X

Davide78

New Member
Joined
Apr 20, 2023
Messages
16
Office Version
  1. 2019
Platform
  1. Windows
Salve, per eseguire una ricerca "a più condizioni", avevo imparato ad usare la combinazione delle funzioni INDICE e CONFRONTA perchè con il CERCA.VERT non era possibile.
Vi chiedo se sia possibile con il nuovo CERCA.X e in caso affermativo, come.

allego file esempio

Ringrazio anticipatamente
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
La tua formula:
Excel Formula:
=INDICE(origine!D2:D19;CONFRONTA(A2&B2&C2;INDICE(origine!A2:A19&origine!B2:B19&origine!C2:C19;);0))

Sì, potresti usare CERCA.X, ad esempio
Excel Formula:
=CERCA.X(A2&B2&C2;origine!A1:A19&origine!B1:B19&origine!C1:C19;origine!D1:D19;"..";0)

Ma secondo me la funzione piu' idonea e' FILTRO, ad esempio:
Excel Formula:
=FILTRO(origine!D1:D19;(origine!A1:A19=A2)*(origine!B1:B19=B2)*(origine!C1:C19=C2))

Nel caso la suddetta formula con CERCA.X non trovi risultati verrà visualizzato ".." (così ho impostato nella formula); la formula con FILTRO visualizzerà #CALC; la tua con Indice + Confronta visualizzerà @N/D

Cerca.X e Filtro sono disponibili in Office 2021 e 365
Ciao

PS: ma nel 2023 tu viaggi ancora col formato XLS?
 
Upvote 0
Grazie! Veramente utile CERCA.X!
Per il tuo P.S. ha ha, no dai sono passato anche io ai .xlsx, ma ho un archivio di "file esempio" dove attingo per procedimenti che non ricordo, la ricerca a più condizioni con INDICE+CONFRONTA l'avevo imparato quando ancora esisteva solo il formato xls.

saluti
 
Upvote 0
Grazie! Veramente utile CERCA.X!
Prego
Sì, utile Cerca.X ma Filtro ti restituira tutte le occorrenze di quanto cercato, non solo la prima
 
Upvote 0
Mi sono scordato di risponderti che studierò questa funzione che non conoscevo!

grazie di nuovo
 
Upvote 0

Forum statistics

Threads
1,215,537
Messages
6,125,393
Members
449,222
Latest member
taner zz

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top