Preskoči na glavno vsebino

Kako pretvoriti 1-12 v mesečno ime v Excelu?

Predstavljajte si, da ste pravkar prejeli poročilo o prodaji, kjer so meseci navedeni kot številke od 1 do 12, in jih morate prikazati kot ustrezna imena mesecev, kot je prikazano na spodnjem posnetku zaslona. Se sprašujete, kako to doseči? V tem članku vas bomo vodili skozi dve učinkoviti metodi za nemoteno pretvorbo številk mesecev v imena mesecev.


Pretvorite številko meseca v ime meseca s funkcijo TEXT

Pravzaprav lahko uporabimo BESEDILO funkcijo za enostavno pretvorbo številk mesecev (od 1 do 12) v imena mesecev v Excelu. Naredite naslednje:

  1. Izberite prazno celico, kjer želite prikazati ime meseca, na primer celico C2 v našem primeru, in vnesite naslednjo formulo:
    =TEXT(A2*29,"mmm")
    Nasvet: A2 je prva celica na seznamu mesecev, v kateri boste začeli pretvarjati številke mesecev v imena mesecev.
  2. Povlecite ročico za polnjenje celice formule navzdol, da uporabite formulo za spodnje celice.
Opomba: Če želite pretvoriti številke v polna imena mesecev, kot sta "januar", "februar", namesto okrajšav, bi morali uporabiti drugo formulo:
=TEXT(A2*29,"mmmm")

Pretvorite številko meseca v ime meseca s Kutools za Excel

V zgornjem primeru je jasno, da BESEDILO funkcija je odlična pri ustvarjanju imen mesecev, vendar to počne v novi, ločeni celici. Za tiste, ki imajo Kutools za Excel na voljo jim je še bolj enostaven pristop. Z uporabo operacija funkcija v Kutools, lahko neposredno zamenjate številke mesecev (v razponu od 1 do 12) z ustreznimi imeni mesecev.

Kutools za Excel - Vsebuje več kot 300 osnovnih orodij za Excel. Uživajte v 30-dnevnem BREZPLAČNEM preizkusu s polnimi funkcijami brez kreditne kartice! Prenesi zdaj!

  1. Izberite številke, ki jih boste pretvorili v ustrezna imena mesecev.
  2. o Kutools jeziček, v Urejanje skupino, izberite Več > operacija.
    Nasvet: Odvisno od vaših nastavitev zaslona, operacija ukaz je lahko tudi neposredno viden znotraj Urejanje skupina.
  3. v Operacijska orodja pogovorno okno, naredite naslednje:
    1. Izberite po meri možnost v operacija škatla.
    2. Vnesite formulo =TEXT(?*29,"mmm") v po meri škatla. Nasvet: Zamenjaj "mmm" z "mmmm" v formuli, če želite namesto tričrkovne okrajšave prikazati polno ime meseca.
    3. (Izbirno) Preverite Ustvari formule možnost. Nasvet: Označite to možnost, če želite, da se formula prikaže v celicah. Če ne izberete te možnosti, bodo celice prikazale samo končne rezultate formule.
    4. klik Ok.

Rezultat

Zdaj boste opazili, da so imena mesecev neposredno nadomestila izbrane številke. Oglejte si posnetek zaslona:

Opomba: Želite dostopati do operacija pripomoček? Prenesi Kutools za Excel zdaj! Poleg tega se Kutools ponaša z nešteto več kot 300 drugimi funkcijami in ponuja 30-dnevno brezplačno preskusno različico. Ne čakajte, poskusite še danes!


Video: Kako pretvoriti 1-12 v ime meseca v Excelu?


Sorodni članki:

Kako pretvoriti datum v ime delavnika ali ime meseca v Excelu?

Najboljša pisarniška orodja za produktivnost

🤖 Kutools AI Aide: Revolucionirajte analizo podatkov na podlagi: Inteligentna izvedba   |  Ustvari kodo  |  Ustvarite formule po meri  |  Analizirajte podatke in ustvarite grafikone  |  Prikličite funkcije Kutools...
Priljubljene funkcije: Poiščite, označite ali identificirajte dvojnike   |  Izbriši prazne vrstice   |  Združite stolpce ali celice brez izgube podatkov   |   Krog brez formule ...
Super iskanje: Več kriterijev VLookup    Multiple Value VLookup  |   VLookup na več listih   |   Nejasno iskanje ....
Napredni spustni seznam: Hitro ustvarite spustni seznam   |  Odvisni spustni seznam   |  Večkrat izberite spustni seznam ....
Upravitelj stolpcev: Dodajte določeno število stolpcev  |  Premakni stolpce  |  Preklop stanja vidnosti skritih stolpcev  |  Primerjaj obsege in stolpce ...
Predstavljene funkcije: Mrežni fokus   |  Pogled oblikovanja   |   Velika vrstica formule    Upravitelj delovnih zvezkov in listov   |  Knjižnica virov (Samodejno besedilo)   |  Izbirnik datuma   |  Združite delovne liste   |  Šifriranje/dešifriranje celic    Pošljite e-pošto po seznamu   |  Super filter   |   Poseben filter (filter krepko/ležeče/prečrtano ...) ...
15 najboljših kompletov orodij12 Besedilo Orodja (dodajanje besedila, Odstrani znake,...)   |   50 + Graf Vrste (Gantt Chart,...)   |   40+ Praktično Formule (Izračunajte starost glede na rojstni dan,...)   |   19 vstavljanje Orodja (Vstavite kodo QR, Vstavi sliko s poti,...)   |   12 Pretvorba Orodja (Številke v besede, Pretvorba valut,...)   |   7 Spoji in razdeli Orodja (Napredne kombinirane vrstice, Razdeljene celice,...)   |   ... in več

Napolnite svoje Excelove spretnosti s Kutools za Excel in izkusite učinkovitost kot še nikoli prej. Kutools za Excel ponuja več kot 300 naprednih funkcij za povečanje produktivnosti in prihranek časa.  Kliknite tukaj, če želite pridobiti funkcijo, ki jo najbolj potrebujete...

Opis


Kartica Office prinaša vmesnik z zavihki v Office in poenostavi vaše delo

  • Omogočite urejanje in branje z zavihki v Wordu, Excelu, PowerPointu, Publisher, Access, Visio in Project.
  • Odprite in ustvarite več dokumentov v novih zavihkih istega okna in ne v novih oknih.
  • Poveča vašo produktivnost za 50%in vsak dan zmanjša na stotine klikov miške za vas!
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