Buongiorno a tutti,
avrei l'esigenza di integrare la formula già applicata:
=SE(LUNGHEZZA(ANNULLA.SPAZI(A2))=15;STRINGA.ESTRAI(ANNULLA.SPAZI(A2);1;5)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);6;4)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);10;4)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);14;2);SE(LUNGHEZZA(ANNULLA.SPAZI(A2))=14;STRINGA.ESTRAI(ANNULLA.SPAZI(A2);1;5)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);6;3)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);9;4)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);13;2);SE(LUNGHEZZA(ANNULLA.SPAZI(A2))=13;STRINGA.ESTRAI(ANNULLA.SPAZI(A2);1;5)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);6;4)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);10;5);SE(LUNGHEZZA(ANNULLA.SPAZI(A2))=12;SE(VAL.NUMERO(--STRINGA.ESTRAI(ANNULLA.SPAZI(A2);1;8));STRINGA.ESTRAI(ANNULLA.SPAZI(A2);1;5)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);6;5)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);11;2);STRINGA.ESTRAI(ANNULLA.SPAZI(A2);1;5)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);6;3)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);9;4));STRINGA.ESTRAI(ANNULLA.SPAZI(A2);1;5)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);6;5)))))
con altra condizione (modifica di una parte specifica del codice) espressa nel file allegato:
Questo dovrebbe portare al risultato finale come riportato nel file. Purtroppo non ho idea di come procedere.
Spero sia chiaro.In caso contrario sono a disposizione
Grazie per la vs attenzione e aiuto!
avrei l'esigenza di integrare la formula già applicata:
=SE(LUNGHEZZA(ANNULLA.SPAZI(A2))=15;STRINGA.ESTRAI(ANNULLA.SPAZI(A2);1;5)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);6;4)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);10;4)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);14;2);SE(LUNGHEZZA(ANNULLA.SPAZI(A2))=14;STRINGA.ESTRAI(ANNULLA.SPAZI(A2);1;5)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);6;3)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);9;4)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);13;2);SE(LUNGHEZZA(ANNULLA.SPAZI(A2))=13;STRINGA.ESTRAI(ANNULLA.SPAZI(A2);1;5)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);6;4)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);10;5);SE(LUNGHEZZA(ANNULLA.SPAZI(A2))=12;SE(VAL.NUMERO(--STRINGA.ESTRAI(ANNULLA.SPAZI(A2);1;8));STRINGA.ESTRAI(ANNULLA.SPAZI(A2);1;5)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);6;5)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);11;2);STRINGA.ESTRAI(ANNULLA.SPAZI(A2);1;5)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);6;3)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);9;4));STRINGA.ESTRAI(ANNULLA.SPAZI(A2);1;5)&"-"&STRINGA.ESTRAI(ANNULLA.SPAZI(A2);6;5)))))
con altra condizione (modifica di una parte specifica del codice) espressa nel file allegato:
Questo dovrebbe portare al risultato finale come riportato nel file. Purtroppo non ho idea di come procedere.
Spero sia chiaro.In caso contrario sono a disposizione
Grazie per la vs attenzione e aiuto!
[aggiunte le spiegazioni necessarie]
Allegati
Ultima modifica di un moderatore:

