ciao
ferma restando la tua prima formula
devi mettere I nella cella A6
ho levato la I dalla formula e usato
=SOMMA(SE.ERRORE(SWITCH(C4:AP4;Gestione!A18;Gestione!E18;Gestione!A19;Gestione!E19;Gestione!A20;Gestione!E20;Gestione!A21;Gestione!E21;Gestione!A22;Gestione!E22;Gestione!A23;Gestione!E23;Gestione!A24;Gestione!E24;Gestione!A6;Gestione!E6);0))
per il conteggio delle lettere
finale
=(SE.ERRORE(ARROTONDA(MATR.SOMMA.PRODOTTO((SE.ERRORE(SOSTITUISCI(SOSTITUISCI(SOSTITUISCI(C4:AP4;"+";"");"-";"");"½";"")*1;0)+SE.ERRORE(RESTO(SOSTITUISCI(SOSTITUISCI(C4:AP4;"+";0,25);"½";0,5);1);0)*1-SE.ERRORE(RESTO(SOSTITUISCI(SOSTITUISCI(C4:AP4;"-";0,25);"--";0,5)*1;1);0)));2);"")+SOMMA(SE.ERRORE(SWITCH(C4:AP4;Gestione!A18;Gestione!E18;Gestione!A19;Gestione!E19;Gestione!A20;Gestione!E20;Gestione!A21;Gestione!E21;Gestione!A22;Gestione!E22;Gestione!A23;Gestione!E23;Gestione!A24;Gestione!E24;Gestione!A6;Gestione!E6);0)))/MATR.SOMMA.PRODOTTO(--(C4:AP4<>""))
più leggibile
=SE.ERRORE(SOMMA(SE.ERRORE(INT(SOSTITUISCI(SOSTITUISCI(C4:AP4;"-";",25");"--";",5")*1);0)-SE.ERRORE(RESTO(SOSTITUISCI(SOSTITUISCI(C4:AP4;"-";",25");"--";",5");1)*1;0);SE.ERRORE(SOSTITUISCI(SOSTITUISCI(C4:AP4;"+";",25");"½";",5")*1;0);-SOMMA(C4:AP4);SE.ERRORE(SWITCH(C4:AP4;Gestione!$A$18;Gestione!$E$18;Gestione!$A$19;Gestione!$E$19;Gestione!$A$20;Gestione!$E$20;Gestione!$A$21;Gestione!$E$21;Gestione!$A$22;Gestione!$E$22;Gestione!$A$23;Gestione!$E$23;Gestione!$A$24;Gestione!$E$24;Gestione!$A$6;Gestione!$E$6);0))/CONTA.VALORI(C4:AP4);"")