| | Post: 161 | Registrato il: 21/07/2020
| Età: 35 | Utente Junior | 2016 | | OFFLINE | |
|
20/04/2021 12:57 | |
Salve a tutti, nel file allegato nella colonna G2:G109 vorrei trovare i valori corrispondenti presi dalla tabella A2:B7899 . Grazie mille |
|
| | Post: 4.654 | Registrato il: 21/06/2013
| Città: NAPOLI | Età: 70 | Utente Master | Excel 365 | | OFFLINE |
|
20/04/2021 13:01 | |
simone8989, 20/04/2021 12:57:
Salve a tutti, nel file allegato nella colonna G2:G109 vorrei trovare i valori corrispondenti presi dalla tabella A2:B7899 . Grazie mille
Che significa?
Fai un esempio concreto.
Alfredo |
| | Post: 162 | Registrato il: 21/07/2020
| Età: 35 | Utente Junior | 2016 | | OFFLINE | |
|
20/04/2021 14:51 | |
Ciao Alfredo, in effetti a me serve estrarre i valori corrispondenti dei comuni della colonna G presi dalla colonna A . Grazie |
| | Post: 2.228 | Registrato il: 10/10/2013
| Città: VICENZA | Età: 69 | Utente Veteran | 365 | | OFFLINE |
|
20/04/2021 15:06 | |
ciao
non si capisce quello che vuoi
scrivi a mano un risultato.
ti faccio un regalo
che immagino sia quello che cerchi di fare
questo allegato ha tutti i figli visibili
Private Sub Workbook_Open()
Dim i As Integer
Worksheets("Italia").Protect "123", UserInterfaceOnly:=True
Worksheets("Province").Protect "123", UserInterfaceOnly:=True
Worksheets("Comuni").Protect "123", UserInterfaceOnly:=True
Sheets("Province").Visible = True
Sheets("Comuni").Visible = True
For i = 2 To Sheets.Count
Sheets(i).Protect "123", UserInterfaceOnly:=True
Sheets(i).Visible = True
Next
End Sub
quando l'hai studiato
nascondi i fogli così
Private Sub Workbook_Open()
Dim i As Integer
Worksheets("Italia").Protect "123", UserInterfaceOnly:=True
Worksheets("Province").Protect "123", UserInterfaceOnly:=True
Worksheets("Comuni").Protect "123", UserInterfaceOnly:=True
Sheets("Province").Visible = xlVeryHidden
Sheets("Comuni").Visible = xlVeryHidden
For i = 2 To Sheets.Count
Sheets(i).Protect "123", UserInterfaceOnly:=True
Sheets(i).Visible = xlVeryHidden
Next
End Sub
la macro è sull'editor vba
questa cartella di lavoro [Modificato da federico460 20/04/2021 15:09] |
| | Post: 4.655 | Registrato il: 21/06/2013
| Città: NAPOLI | Età: 70 | Utente Master | Excel 365 | | OFFLINE |
|
20/04/2021 15:09 | |
simone8989, 20/04/2021 14:51:
Ciao Alfredo, in effetti a me serve estrarre i valori corrispondenti dei comuni della colonna G presi dalla colonna A . Grazie
La colonna G è vuota.
Ma lo vuoi fare un esempio concreto inseerendo a mano sul foglio il risultato che vuoi ottenere spiegando come esso si determina?
Alfredo |
| | Post: 16 | Registrato il: 02/04/2018
| Città: PESCARA | Età: 75 | Utente Junior | EXCEL 2016 - SPREAD32 | | OFFLINE |
|
20/04/2021 15:19 | |
la tua colonna G è vuota, e quindi ci sarebbe da chiedersi che cosa mai tu intenda
ma se io sono appena intuitivo direi che in G2 si potrebbe scrivere:
=CERCA.X(F2;A2:A7900;B2:B7900;1)
LEO
https://t.me/LordBrum |
| | Post: 17 | Registrato il: 02/04/2018
| Città: PESCARA | Età: 75 | Utente Junior | EXCEL 2016 - SPREAD32 | | OFFLINE |
|
20/04/2021 15:26 | |
o più semplicemente
=CERCA.X(F2;A:A;B:B;1)
ma in genere: perchè prima non (anche) controlli i tuoi file ?
LEO
https://t.me/LordBrum |
| | Post: 4.656 | Registrato il: 21/06/2013
| Città: NAPOLI | Età: 70 | Utente Master | Excel 365 | | OFFLINE |
|
20/04/2021 15:29 | |
Ma io mi chiedo perchè ci dobbiamo arrabbattare in attesa che l'utente di risposte alle richieste che gli vengono rivolte.
Poi il CERCA.X() è presente solo in Excel 365 per cui Simone8989 non lo ha disponibile.
Infine, abbiate bontà, ma non basta un CERCA.VERT()? [Modificato da alfrimpa 20/04/2021 15:32]
Alfredo |
| | Post: 2.229 | Registrato il: 10/10/2013
| Città: VICENZA | Età: 69 | Utente Veteran | 365 | | OFFLINE |
|
20/04/2021 15:31 | |
ciao
L2018
mi spieghi se dichiari il 2007 come fai a usare
la funzione
CERCA.X()
|
| | Post: 18 | Registrato il: 02/04/2018
| Città: PESCARA | Età: 75 | Utente Junior | EXCEL 2016 - SPREAD32 | | OFFLINE |
|
20/04/2021 15:35 | |
ho dimenticato l'ovvietà di trascinare la formula in basso
chiedo scusa per il CERCA.X, il fatto è che nell'entusiasmo rabbioso di inserirmi, io novellino, fra voi guru, non ho detto che uso un altro programma, non sapendo neppure che il suo 2013 non ha il cerca.x
quanto all'attesa delle risposte di chi chiede, ho una mia opinione che preferisco non esporre qui
scusate l'intromissione
LEO
https://t.me/LordBrum |
| | Post: 19 | Registrato il: 02/04/2018
| Città: PESCARA | Età: 75 | Utente Junior | EXCEL 2016 - SPREAD32 | | OFFLINE |
|
20/04/2021 15:38 | |
subito detto:
ho EXCEL 2007, ma per le operazioni giornaliere uso un giocattolo fantastico che si chiama SPREAD32, microscopico monofile, la cui ultima versione fa di tutto, anche le macro che però hanno un linguaggio proprietario per me incomprensibile
LEO
https://t.me/LordBrum |
| | Post: 163 | Registrato il: 21/07/2020
| Età: 35 | Utente Junior | 2016 | | OFFLINE | |
|
20/04/2021 16:42 | |
Ecco il file scritto a mano come deve essere. Grazie ancora e chiedo scusa |
| | Post: 4.657 | Registrato il: 21/06/2013
| Città: NAPOLI | Età: 70 | Utente Master | Excel 365 | | OFFLINE |
|
20/04/2021 16:46 | |
Ma neanche il CERCA.VERT() di Excel conosci?
Studiatelo e risolvi il problema.
Alfredo |
| | Post: 2.230 | Registrato il: 10/10/2013
| Città: VICENZA | Età: 69 | Utente Veteran | 365 | | OFFLINE |
|
20/04/2021 18:09 | |
ciao
L2018
l'ho guardato, sembra carino
e voglio provarlo😄
ma devo averlo già usato tempo fa.
|
| | Post: 20 | Registrato il: 02/04/2018
| Città: PESCARA | Età: 75 | Utente Junior | EXCEL 2016 - SPREAD32 | | OFFLINE |
|
20/04/2021 18:17 | |
ciao Federico
è un progamma molto efficiente, per anni è stato quasi fermo, ma ora l'autore gli ha dato una sterzata e in poco tempo sono uscite 4 nuove versioni che arrivano a supportare Excel365, peccato per le macro, le sue non le capirò mai, sembrano avere un linguaggio proprietario
Anche l'Help è scarno, pochissimi esempi, meno male che conosco l'inglese.
Io ci faccio tutto, ma per macro devo usare E2007.
Leo
LEO
https://t.me/LordBrum |
| | Post: 21 | Registrato il: 02/04/2018
| Città: PESCARA | Età: 75 | Utente Junior | EXCEL 2016 - SPREAD32 | | OFFLINE |
|
20/04/2021 20:58 | |
simone8989, 20/04/2021 12:57:
Salve a tutti, nel file allegato nella colonna G2:G109 vorrei trovare i valori corrispondenti presi dalla tabella A2:B7899 . Grazie mille
Ciao
nel tuo file ci sono molti errori di abbinamento tra Comuni (colonna A) Regioni e Province, e quindi, forse, superfici
LEO
https://t.me/LordBrum |
| | Post: 164 | Registrato il: 21/07/2020
| Età: 35 | Utente Junior | 2016 | | OFFLINE | |
|
21/04/2021 06:43 | |
Ciao Federico 460, sei un grande per il regalo che mi hai fatto. Grazie mille |
| | Post: 165 | Registrato il: 21/07/2020
| Età: 35 | Utente Junior | 2016 | | OFFLINE | |
|
21/04/2021 06:44 | |
Salve a tutti, comunque ho risolto facendo un cerca verticale come suggerito da Alfimpra. Grazie mille |
| | Post: 4.658 | Registrato il: 21/06/2013
| Città: NAPOLI | Età: 70 | Utente Master | Excel 365 | | OFFLINE |
|
21/04/2021 10:51 | |
Beh ci potevi arrivare pure da solo.
Il CERCA.VERT è una delle funzioni base di Excel e non si può non conoscerla.
La prossima volta, però, non chiedere soltanto ma mostra i tentativi che hai fatto per risolvere il problema che esponi.
Alfredo |
|
|