メインコンテンツへスキップ

Excelで1〜12を月の名前に変換するにはどうすればよいですか?

以下のスクリーンショットに示すように、月が 1 から 12 までの数字でリストされている販売レポートを受け取ったところ、対応する月名として表示する必要があると想像してください。これを実現するにはどうすればよいでしょうか?この記事では、月番号を月名にシームレスに変換する XNUMX つの効果的な方法を説明します。


TEXT関数を使用して月番号を月名に変換します

実際に適用することができます TEXT Excelで月番号(1~12)を月名に簡単に変換する関数です。次のようにしてください。

  1. 月の名前を表示する空のセル (この例ではセル C2 など) を選択し、次の数式を入力します。
    =TEXT(A2*29,"mmm")
    ヒント: A2 は、月番号から月名への変換を開始する月リストの最初のセルです。
  2. 数式セルの塗りつぶしハンドルを下にドラッグして、下のセルに数式を適用します。
注: 数値を省略形ではなく「1 月」、「2 月」などの完全な月名に変換するには、別の式を使用する必要があります。
=TEXT(A2*29,"mmmm")

Kutools for Excelを使用して月番号を月名に変換します

上の例では、明らかに TEXT この関数は月名の作成に優れていますが、それは新しい別のセルで行われます。 持っている人にとっては、 Kutools for Excel さらに簡単なアプローチも自由に使えます。 を使用することで、 操作 Kutools の機能を使用すると、月番号 (1 から 12 の範囲) を対応する月の名前に直接置き換えることができます。

Kutools for Excel - Excel に必要な 300 以上のツールが詰め込まれています。 クレジット カードは必要なく、全機能を備えた 30 日間の無料トライアルをお楽しみください。 ダウンロード中!

  1. 対応する月の名前に変換する数値を選択します。
  2. ソフトウェア設定ページで、下図のように クツール タブの 編集 グループ、選択 その他 > 操作.
    ヒント: ディスプレイの設定によっては、 操作 コマンドは、 編集 グループ。
  3. 操作ツール ダイアログボックスで、次のようにしてください。
    1. 現在地に最も近い カスタム 内のオプション 操作 ボックス。
    2. 式を入力します =TEXT(?*29,"mmm") セクションに カスタム ボックス。 ヒント: 交換する "うーん"   "んー" 月の 3 文字の略語ではなく完全な名前を表示したい場合は、数式に入力します。
    3. (オプション) 数式を作成する オプションを選択します。 ヒント: 数式をセルに表示したい場合は、このオプションをオンにします。このオプションを選択しない場合、セルには数式の最終結果のみが表示されます。
    4. Ok.

結果

これで、選択した数字が月の名前に直接置き換えられたことがわかります。 スクリーンショットを参照してください:

注: にアクセスしたい 操作 ユーティリティ? ダウンロード Kutools for Excel 今! これを超えて、Kutools は 300 以上の他の機能を誇り、30 日間の無料トライアルを提供しています。 待ってはいけません、今日試してみてください!


ビデオ: Excel で 1 ~ 12 を月の名前に変換する方法


関連記事:

Excelで日付を平日名または月名に変換するにはどうすればよいですか?

最高のオフィス生産性向上ツール

🤖 Kutools AI アシスタント: 以下に基づいてデータ分析に革命をもたらします。 インテリジェントな実行   |  コードを生成  |  カスタム数式の作成  |  データを分析してグラフを生成する  |  Kutools関数を呼び出す...
人気の機能: 重複を検索、強調表示、または識別する   |  空白行を削除する   |  データを失わずに列またはセルを結合する   |   数式なしのラウンド ...
スーパールックアップ: 複数の基準の VLookup    複数の値の VLookup  |   複数のシートにわたる VLookup   |   ファジールックアップ ....
詳細ドロップダウン リスト: ドロップダウンリストを素早く作成する   |  依存関係のドロップダウン リスト   |  複数選択のドロップダウンリスト ....
列マネージャー: 特定の数の列を追加する  |  列の移動  |  Toggle 非表示列の表示ステータス  |  範囲と列の比較 ...
注目の機能: グリッドフォーカス   |  デザインビュー   |   ビッグフォーミュラバー    ワークブックとシートマネージャー   |  リソースライブラリ (自動テキスト)   |  日付ピッカー   |  ワークシートを組み合わせる   |  セルの暗号化/復号化    リストごとにメールを送信する   |  スーパーフィルター   |   特殊フィルター (太字/斜体/取り消し線をフィルター...) ...
上位 15 のツールセット12 テキスト ツール (テキストを追加, 文字を削除する、...)   |   50+ チャート 種類 (ガントチャート、...)   |   40+ 実用的 (誕生日に基づいて年齢を計算する、...)   |   19 挿入 ツール (QRコードを挿入, パスから画像を挿入、...)   |   12 変換 ツール (数字から言葉へ, 通貨の換算、...)   |   7 マージ&スプリット ツール (高度な結合行, 分割セル、...)   |   ... もっと

Kutools for Excel で Excel スキルを強化し、これまでにない効率を体験してください。 Kutools for Excelは、生産性を向上させ、時間を節約するための300以上の高度な機能を提供します。  最も必要な機能を入手するにはここをクリックしてください...

説明


Officeタブは、タブ付きのインターフェイスをOfficeにもたらし、作​​業をはるかに簡単にします

  • Word、Excel、PowerPointでタブ付きの編集と読み取りを有効にする、パブリッシャー、アクセス、Visioおよびプロジェクト。
  • 新しいウィンドウではなく、同じウィンドウの新しいタブで複数のドキュメントを開いて作成します。
  • 生産性を 50% 向上させ、毎日何百回もマウス クリックを減らすことができます!
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