Skip i'r prif gynnwys

Sut i drosi 1-12 i enw mis yn Excel?

Awdur: Kelly Wedi'i Addasu Diwethaf: 2024-01-31

Dychmygwch eich bod newydd dderbyn adroddiad gwerthu lle mae'r misoedd wedi'u rhestru fel rhifau o 1 i 12, a bod angen i chi eu harddangos fel enwau mis cyfatebol, fel y dangosir yn y sgrin isod. Yn meddwl tybed sut i gyflawni hyn? Yn yr erthygl hon, byddwn yn eich arwain trwy ddau ddull effeithiol i drosi rhifau mis yn enwau misoedd yn ddi-dor.


Trosi rhif mis i enw mis gyda swyddogaeth TESTUN

Mewn gwirionedd, gallwn gymhwyso'r TEXT swyddogaeth i drosi rhifau mis (o 1 i 12) i enwau mis yn hawdd yn Excel. Gwnewch fel a ganlyn os gwelwch yn dda:

  1. Dewiswch gell wag lle rydych chi am i'r enw mis gael ei ddangos, er enghraifft, cell C2 yn ein hesiampl, a theipiwch y fformiwla ganlynol:
    =TEXT(A2*29,"mmm")
    Tip: A2 yw'r gell gyntaf yn y rhestr Mis byddwch yn dechrau trosi rhifau mis i enwau mis.
  2. Llusgwch ddolen llenwi'r gell fformiwla i lawr i gymhwyso'r fformiwla i'r celloedd islaw.
Nodyn: I drosi rhifau yn enwau mis llawn, megis "Ionawr," "Chwefror," yn lle byrfoddau, byddai angen i chi ddefnyddio fformiwla wahanol:
=TEXT(A2*29,"mmmm")

Trosi rhif mis i enw mis gyda Kutools ar gyfer Excel

Yn yr enghraifft uchod, mae'n amlwg bod y TEXT mae swyddogaeth yn rhagori ar greu enwau mis, ond mae'n gwneud hynny mewn cell newydd, ar wahân. I'r rhai sydd wedi Kutools ar gyfer Excel ar gael iddynt, mae dull hyd yn oed yn fwy syml. Trwy ddefnyddio'r Ymgyrch nodwedd yn Kutools, gallwch chi roi'r enwau mis cyfatebol yn lle'r rhifau mis (yn amrywio o 1 i 12) yn uniongyrchol.

Kutools ar gyfer Excel - Yn llawn dros 300 o offer hanfodol ar gyfer Excel. Mwynhewch dreial 30 diwrnod llawn sylw AM DDIM heb fod angen cerdyn credyd! Lawrlwytho nawr!

  1. Dewiswch y rhifau y byddwch yn eu trosi i'w henwau mis cyfatebol.
  2. Ar y Kutools tab, yn y Golygu grwp, dewiswch Mwy > Ymgyrch.
    Tip: Yn dibynnu ar eich gosodiadau arddangos, mae'r Ymgyrch gallai gorchymyn hefyd fod yn uniongyrchol weladwy o fewn y Golygu grŵp.
  3. Yn y Offer Gweithredu blwch deialog, gwnewch fel a ganlyn:
    1. dewiswch y Custom opsiwn yn y Ymgyrch blwch.
    2. Teipiwch y fformiwla =TEXT(?*29,"mmm") yn y Custom blwch. Tip: Disodli "mmm" gyda "mmmm" yn y fformiwla os ydych am arddangos enw llawn y mis yn lle'r talfyriad tair llythyren.
    3. (Dewisol) Gwiriwch y Creu fformwlâu opsiwn. Tip: Gwiriwch yr opsiwn hwn os ydych am i'r fformiwla ymddangos yn y celloedd. Os na ddewiswch yr opsiwn hwn, bydd y celloedd yn dangos canlyniadau terfynol y fformiwla yn unig.
    4. Cliciwch Ok.

Canlyniad

Nawr fe welwch fod enwau'r mis wedi disodli'r rhifau a ddewiswyd yn uniongyrchol. Gweler y sgrinlun:

Nodyn: Eisiau cael mynediad i'r Ymgyrch cyfleustodau? Lawrlwythwch Kutools ar gyfer Excel nawr! Y tu hwnt i hyn, mae gan Kutools fyrdd o 300+ o nodweddion eraill ac mae'n cynnig treial 30 diwrnod am ddim. Peidiwch ag aros, rhowch gynnig arni heddiw!


Fideo: Sut i drosi enw 1-12 mis yn Excel?


Erthyglau cysylltiedig:

Sut i drosi dyddiad i enw yn ystod yr wythnos neu enw mis yn Excel?

Offer Cynhyrchiant Swyddfa Gorau

🤖 Kutools AI Aide: Chwyldro dadansoddi data yn seiliedig ar: Cyflawniad Deallus   |  Cynhyrchu Cod  |  Creu Fformiwlâu Personol  |  Dadansoddi Data a Chynhyrchu Siartiau  |  Invoke Swyddogaethau Kutools...
Nodweddion Poblogaidd: Darganfod, Amlygu neu Adnabod Dyblygiadau   |  Dileu Rhesi Gwag   |  Cyfuno Colofnau neu Gelloedd heb Colli Data   |   Rownd heb Fformiwla ...
Super-edrych: VLookup Meini Prawf Lluosog    VLookup Gwerth Lluosog  |   VLookup Ar Draws Taflenni Lluosog   |   Edrych Niwlog ....
Rhestr gwympo Uwch: Creu Rhestr Gollwng yn Gyflym   |  Rhestr Gollwng Dibynnol   |  Rhestr Gollwng Aml-ddewis ....
Rheolwr Colofn: Ychwanegu Nifer Penodol o Golofnau  |  Symud Colofnau  |  Toglo Statws Gwelededd Colofnau Cudd  |  Cymharwch Ystodau a Cholofnau ...
Nodweddion dan Sylw: Ffocws ar y Grid   |  Golwg Dylunio   |   Bar Fformiwla Mawr    Rheolwr Llyfr Gwaith a Thaflen   |  Llyfrgell Adnoddau (Testun Auto)   |  Dewiswr Dyddiad   |  Cyfuno Taflenni Gwaith   |  Amgryptio/Dadgryptio Celloedd    Anfon E-byst trwy Restr   |  Hidlo Super   |   Hidlo Arbennig (hidlo mewn print trwm/italig/strikethrough...) ...
15 Set Offer Gorau12 Testun offer (Ychwanegu Testun, Dileu Cymeriadau,...)   |   50 + Siart Mathau (Siart Gantt,...)   |   40+ Ymarferol Fformiwlâu (Cyfrifwch oedran yn seiliedig ar ben-blwydd,...)   |   19 mewnosod offer (Mewnosod Cod QR, Mewnosod Llun o'r Llwybr,...)   |   12 Trosi offer (Rhifau i Eiriau, Trosi arian cyfred,...)   |   7 Uno a Hollti offer (Rhesi Cyfuno Uwch, Celloedd Hollt,...)   |   ... a mwy

Supercharge Eich Sgiliau Excel gyda Kutools ar gyfer Excel, a Phrofiad Effeithlonrwydd Fel Erioed Erioed. Kutools ar gyfer Excel Yn Cynnig Dros 300 o Nodweddion Uwch i Hybu Cynhyrchiant ac Arbed Amser.  Cliciwch Yma i Gael Y Nodwedd Sydd Ei Angen Y Mwyaf...

Disgrifiad


Mae Office Tab yn dod â rhyngwyneb Tabbed i Office, ac yn Gwneud Eich Gwaith yn Haws o lawer

  • Galluogi golygu a darllen tabbed yn Word, Excel, PowerPoint, Cyhoeddwr, Mynediad, Visio a Phrosiect.
  • Agor a chreu dogfennau lluosog mewn tabiau newydd o'r un ffenestr, yn hytrach nag mewn ffenestri newydd.
  • Yn cynyddu eich cynhyrchiant 50%, ac yn lleihau cannoedd o gliciau llygoden i chi bob dydd!
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