Vai al contenuto principale

Come convertire 1-12 in nome del mese in Excel?

Immagina di aver appena ricevuto un report sulle vendite in cui i mesi sono elencati come numeri da 1 a 12 e di dover visualizzarli come nomi di mesi corrispondenti, come illustrato nello screenshot seguente. Ti chiedi come raggiungere questo obiettivo? In questo articolo, ti guideremo attraverso due metodi efficaci per convertire senza problemi i numeri dei mesi in nomi dei mesi.


Converti il ​​numero del mese nel nome del mese con la funzione TESTO

In realtà, possiamo applicare il TESTO funzione per convertire facilmente i numeri dei mesi (da 1 a 12) in nomi di mesi in Excel. Si prega di fare quanto segue:

  1. Seleziona una cella vuota in cui desideri visualizzare il nome del mese, ad esempio la cella C2 nel nostro esempio, e digita la seguente formula:
    =TEXT(A2*29,"mmm")
    Mancia: A2 è la prima cella nell'elenco dei mesi in cui inizierai a convertire i numeri dei mesi in nomi dei mesi.
  2. Trascina verso il basso il quadratino di riempimento della cella della formula per applicare la formula alle celle sottostanti.
Nota: Per convertire i numeri in nomi di mesi completi, come "Gennaio", "Febbraio", anziché in abbreviazioni, dovresti utilizzare una formula diversa:
=TEXT(A2*29,"mmmm")

Converti il ​​numero del mese in nome del mese con Kutools per Excel

Nell'esempio sopra, è chiaro che the TESTO La funzione eccelle nella creazione dei nomi dei mesi, ma lo fa in una nuova cella separata. Per coloro che hanno Kutools for Excel a loro disposizione, c'è un approccio ancora più semplice. Utilizzando il Funzionamento funzionalità in Kutools, puoi sostituire direttamente i numeri dei mesi (compresi tra 1 e 12) con i nomi dei mesi corrispondenti.

Kutools for Excel - Ricco di oltre 300 strumenti essenziali per Excel. Goditi una prova GRATUITA di 30 giorni con tutte le funzionalità senza carta di credito richiesta! Scaricare ora!

  1. Seleziona i numeri che convertirai nei nomi dei mesi corrispondenti.
  2. Sulla Kutools scheda, nel Editing gruppo, selezionare Più > Funzionamento.
    Mancia: A seconda delle impostazioni dello schermo, il Funzionamento il comando potrebbe anche essere direttamente visibile all'interno del file Editing gruppo.
  3. Nel Strumenti operativi finestra di dialogo, eseguire le seguenti operazioni:
    1. Seleziona il Custom opzione nel Funzionamento scatola.
    2. Digita la formula =TEXT(?*29,"mmm") nel Custom scatola. Mancia: sostituire "mmmm" con "mmmm" nella formula se si desidera visualizzare il nome completo del mese anziché l'abbreviazione di tre lettere.
    3. (Facoltativo) Controllare il Crea formule opzione. Mancia: Seleziona questa opzione se vuoi che la formula appaia nelle celle. Se non scegli questa opzione, le celle mostreranno solo i risultati finali della formula.
    4. Clicchi Ok.

Risultato

Ora osserverai che i nomi dei mesi hanno sostituito direttamente i numeri selezionati. Vedi schermata:

Nota: Vuoi accedere a Funzionamento utilità? Scaricamento Kutools for Excel Ora! Oltre a ciò, Kutools vanta una miriade di oltre 300 altre funzionalità e offre una prova gratuita di 30 giorni. Non aspettare, provalo oggi!


Video: come convertire il nome da 1 a 12 in mese in Excel?


Articoli correlati:

Come convertire la data in nome del giorno della settimana o nome del mese in Excel?

I migliori strumenti per la produttività in ufficio

🤖 Assistente AI di Kutools: Rivoluziona l'analisi dei dati basandosi su: Esecuzione intelligente   |  Genera codice  |  Crea formule personalizzate  |  Analizzare i dati e generare grafici  |  Richiama le funzioni di Kutools...
Funzioni popolari: Trova, evidenzia o identifica i duplicati   |  Elimina righe vuote   |  Combina colonne o celle senza perdere dati   |   Round senza formula ...
Super ricerca: VLookup a criteri multipli    VLookup a valori multipli  |   VLookup su più fogli   |   Ricerca fuzzy ....
Elenco a discesa avanzato: Crea rapidamente un elenco a discesa   |  Elenco a discesa dipendente   |  Elenco a discesa a selezione multipla ....
Gestore di colonna: Aggiungi un numero specifico di colonne  |  Sposta colonne  |  Attiva/disattiva lo stato di visibilità delle colonne nascoste  |  Confronta intervalli e colonne ...
Funzionalità in primo piano: Messa a fuoco della griglia   |  Vista di progettazione   |   Grande barra delle formule    Gestore di cartelle di lavoro e fogli   |  Resource Library (Testo automatico)   |  Date picker   |  Combina fogli di lavoro   |  Crittografa/decrittografa le celle    Invia e-mail per elenco   |  Super filtro   |   Filtro speciale (filtro grassetto/corsivo/barrato...) ...
I 15 migliori set di strumenti12 Testo Strumenti (aggiungi testo, Rimuovi personaggi, ...)   |   50+ Grafico Tipi (Diagramma di Gantt, ...)   |   40+ Pratico Formule (Calcola l'età in base al compleanno, ...)   |   19 Inserimento Strumenti (Inserisci il codice QR, Inserisci immagine dal percorso, ...)   |   12 Conversione Strumenti (Numeri in parole, Conversione di valuta, ...)   |   7 Unisci e dividi Strumenti (Combina righe avanzate, Celle divise, ...)   |   ... e altro ancora

Potenzia le tue competenze di Excel con Kutools per Excel e sperimenta l'efficienza come mai prima d'ora. Kutools per Excel offre oltre 300 funzionalità avanzate per aumentare la produttività e risparmiare tempo.  Fai clic qui per ottenere la funzionalità di cui hai più bisogno...

Descrizione


Office Tab porta l'interfaccia a schede in Office e semplifica notevolmente il tuo lavoro

  • Abilita la modifica e la lettura a schede in Word, Excel, PowerPoint, Publisher, Access, Visio e Project.
  • Apri e crea più documenti in nuove schede della stessa finestra, piuttosto che in nuove finestre.
  • Aumenta la produttività del 50% e riduce ogni giorno centinaia di clic del mouse!
Comments (16)
Rated 4.5 out of 5 · 2 ratings
This comment was minimized by the moderator on the site
I get the same issue, the only return is "00" regardless of using *28 or *29 in the formula. A column only includes numbers 1-12 so and are in text format, so I can't figure out the issue.
This comment was minimized by the moderator on the site
Hi there,

Can you show me a screenshot of your data?
Note: Please select the cell where you entered the formula and then take a screenshot that includes both your data and the formula bar.

Amanda
This comment was minimized by the moderator on the site
For some reason neither the TEXT formula (=TEXT(cell reference;"mmmm")) nor setting the custom cell format to mmmm is working - both simply return the value "00". Any ideas why this is happening? Simply using the MONTH formula returns the correct month number, so the problem can't be the format of the date.
This comment was minimized by the moderator on the site
Hi there,

I think the formula in the tutorial is =TEXT(A2*29,"mmm"). And A2 in the formula is the number, say, 2, that you want to convert it to the month text, say, February.

Amanda
This comment was minimized by the moderator on the site
is there a way to do the kutools example above without getting the extension? For example I type number 1 - 12 on a cell and it automatically changes to a month name?
This comment was minimized by the moderator on the site
Can you explain why is number 29 in this formula ?
Rated 4.5 out of 5
This comment was minimized by the moderator on the site
You could also use 28 instead of 29 with the same results.
30 will fail for February and 27 will fail for December, so the only options are 28 and 29
John #30837
30 should fail for February but doesn't because Excel incorrectly assumes that 1900 was a leap year.
27 actually fails for September, October, November and December
Chris #30838

Hi, the above two comments from the page should explain the reason.
If you have other questions, please don't hesitate to ask. :)

Amanda
This comment was minimized by the moderator on the site
Principle works. 29 produces error if you have more than few years. 30.4167 works for more than 10 years.
This comment was minimized by the moderator on the site
Coba ini..


=TEXT( "1/" & A2 & "/2022 " ; "m mm mmm mmmm" )


Keterangan :
"1/" dibuat per tanggal 1
A2 cell angka bulan 1 - 12
"/2022" dibuat per tahun 2022
"m mm mmm mmmm" untuk memilih format.

Nanti hasilnya 4 04 Apr April
Rated 4.5 out of 5
This comment was minimized by the moderator on the site
Hi, are you tring to have a list of dates in format: day/month/year?
If so, you can just use a formula like this: ="1/"&A2&"/2022".

Amanda
This comment was minimized by the moderator on the site
Gracias, me sirvio mucho tu explicación.
This comment was minimized by the moderator on the site
Very helpful! Thanks so much!
This comment was minimized by the moderator on the site
Can you explain why is number 29 in this formula ?
This comment was minimized by the moderator on the site
The text formula treats the number as a day in the year. So 1 would be 1st of January, and 365 would be 31st December. If you convert these numbers to months then 1 would be January and 365 would be December. With 2, the formula would see this as 2nd of January so would still return as January. However, with the 29, we can make this 2 58 instead, which alludes to Feb 27th. The formula will thus return this as feb. The same is applied for the numbers 1 to 12. Hope this helps
This comment was minimized by the moderator on the site
You could also use 28 instead of 29 with the same results.

30 will fail for February and 27 will fail for December, so the only options are 28 and 29
This comment was minimized by the moderator on the site
30 should fail for February but doesn't because Excel incorrectly assumes that 1900 was a leap year.
27 actually fails for September, October, November and December
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations