Privacy Policy
ProgrammazioneTech

[:it]Ottenere mese da numero in Excel[:en]Get month from number in excel[:]

[:it]Per tradurre in testo il numero del mese (1-> Gennaio, 2-> Febbraio, ecc, ecc) è sufficiente una formula banale, che però condivido in questo post per evitare inutili e noiose perdite di tempo.

Ipotizzando di avere il numero del mese nella cella L2, di seguito la formula da usare.

=SE(MESE(L2)=1;”Gennaio”;SE(MESE(L2)=2;”Febbraio”;SE(MESE(L2)=3;”Marzo”;SE(MESE(L2)=4;”Aprile”;SE(MESE(L2)=5;”Maggio”;SE(MESE(L2)=6;”Giugno”;SE(MESE(L2)=7;”Luglio”;SE(MESE(L2)=8;”Agosto”;SE(MESE(L2)=9;”Settmebre”;SE(MESE(L2)=10;”Ottobre”;SE(MESE(L2)=11;”Novembre”;SE(MESE(L2)=12;”Dicembre”;”ERRORE”))))))))))))[:en]To translate the number of the month (1-> January, 2-> February, etc., etc.), just a trivial formula, but I agree with this post to avoid unnecessary and boring loss of time.

Assuming you have the month number in cell L2, below the formula to use.

= IF (MONTH (L2) = 1; “January”; IF (MONTH (L2) = 2; “February”; IF (MONTH (L2) = 3; “March”; IF (MONTH (L2) = 4; ” April “; IF (MONTH (L2) = 5;” May “; IF (MONTH (L2) = 6;” June “; IF (MONTH (L2) = 7;” July “; IF (MONTH (L2) = 8 ; “August”; IF (MONTH (L2) = 9; “Settmebre”; IF (MONTH (L2) = 10; “October”; IF (MONTH (L2) = 11; “November”; IF (MONTH (L2) = 12; “December”, “ERROR”))))))))))))[:]

Lascia un commento

Translate »
Privacy Policy - Personalizza tracciamento pubblicitario