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

Excelで動的な月間カレンダーを作成するにはどうすればよいですか?

何らかの目的で、Excelで動的な月間カレンダーを作成する必要がある場合があります。 月を変更すると、カレンダーのすべての日付が変更された月に基づいて自動的に調整されます。 この記事では、Excelで動的な月間カレンダーを作成する方法について詳しく説明します。

Excelで動的な月間カレンダーを作成する


Excelで動的な月間カレンダーを作成する

Excelで動的な月間カレンダーを作成するには、次のようにしてください。

1.事前にフォームコントロールコンボボックスを作成する必要があります。 クリック Developer > インセット > コンボボックス(フォームコントロール)。 スクリーンショットを参照してください:

2.次に、セルA1にコンボボックスを描画します。

3.すべての月の名前でリストを作成します。 以下のスクリーンショットに示すように、ここではAH1:AH12の範囲で今月の名前リストを作成します。

4.コンボボックスを右クリックして、 フォーマット制御 右クリックメニューから。 スクリーンショットを参照してください:

5。 の中に フォーマット制御 ダイアログボックス、および 管理 タブで、ステップ3で作成した月の名前を含む範囲を選択します。 入力範囲 ボックス、および セルリンク ボックス、選択 A1、次に番号を変更します ドロップダウンライン ボックスに 12、最後にをクリックします OK ボタン。 スクリーンショットを参照してください:

6.月の開始日を表示するための空白のセルを選択し(ここではセルB6を選択)、数式を入力します = DATE(A2、A1,1) 数式バーに入力し、を押します 入力します キー。

Note:数式で、A2は特定の年を含むセルであり、A1は2016年のすべての月を含むコンボボックスです。 コンボボックスから2月を選択し、セルA6に2016と入力すると、セルB3の日付は1/XNUMX/XNUMXになります。 上記のスクリーンショットを参照してください。

7. B6の右側のセルを選択し、数式を入力します = B6 + 1 数式バーに入力し、を押します 入力します キー。 これで、月のXNUMX番目の日付が取得されます。 スクリーンショットを参照してください:

8.セルC6を選択し続け、月末に達するまでフィルハンドルを右側のセルにドラッグします。 これで、月間カレンダー全体が作成されます。

9.次に、必要に応じて日付をフォーマットできます。 リストされているすべての日付セルを選択し、[ ホーム > オリエンテーション > テキストを上に回転。 スクリーンショットを参照してください:

10.すべての日付セルを含む列全体を選択し、列ヘッダーを右クリックして、 列幅。 ポップアップで 列幅 ダイアログボックスで、ボックスに番号3を入力し、[ OK ボタン。 スクリーンショットを参照してください:

11.すべての日付セルを選択し、を押します Ctrlキー + 1 キーを同時に開いて セルの書式設定 ダイアログボックス。 このダイアログボックスで、 カスタム セクションに カテゴリー ボックスで、dddddをに入力します ボックスをクリックし、 OK

これで、以下のスクリーンショットに示すように、すべての日付が指定された日付形式に変更されます。

必要に応じて、カレンダーを任意のスタイルにカスタマイズできます。 対応するセルで月または年を変更すると、月間カレンダーの日付が指定した月または年に動的に調整されます。

日付ピッカー(カレンダーから特定の日付形式で日付を簡単に選択し、選択したセルに挿入します):

ここで便利なツールを紹介します– 日付を挿入 の有用性 Kutools for Excel、このユーティリティを使用すると、日付ピッカーから特定の形式の日付を簡単に取得し、ダブルクリックして選択したセルに挿入できます。 ダウンロードして今すぐ試してみてください! (30 日間の無料トレイル)


関連記事:

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

🤖 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 (17)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
al escribir = FECHA (A2, A1,1) me sale error
This comment was minimized by the moderator on the site
Hi Manuel,
What kind of erro did you get? If it returns a #NUM! error value, the error value will be replaced with a date after selecting an item from the combo box.
To be mentioned, the formula provided in the post can only be applied in English system environment Excel. If you have Excel in a different language than English, please convert the formula from English to the language you are currently using.
It seems that you are using the Excel in Spanish language system. You need to change the commas in the formula to semicolons.
You can translate the formula in this page: https://de.excel-translator.de/translator/
This comment was minimized by the moderator on the site
Hi does anyone know how to do this without using weekends?
This comment was minimized by the moderator on the site
День добрый.Создал по Вашему примеру календарь в одну строку, но есть одна проблема.При выборе месяцев, где дней меньше чем 31, например Февраль, после последнего дня в феврале в календаре показываются три первых дня марта.01.02.21 02.02.21 03.02.21 04.02.21 05.02.21 06.02.21 07.02.21 08.02.21 09.02.21 10.02.21 11.02.21 12.02.21 13.02.21 14.02.21 15.02.21 16.02.21 17.02.21 18.02.21 19.02.21 20.02.21 21.02.21 22.02.21 23.02.21 24.02.21 25.02.21 26.02.21 27.02.21 28.02.21 01.03.21 02.03.21 03.03.21
Как можно скрыть отображение этих лишних дней?
This comment was minimized by the moderator on the site
I really appreciate your effort Sir. But since I was using the excel format 2010, in the Format Control dialog box there is no Control tab, so is there any way to input range?
This comment was minimized by the moderator on the site
Hi Fatihah,There are 2 families of controls in Excel: Form Controls and ActiveX Controls.Forms controls have a number of tabs on their Format Control dialog, including Control. However, ActiveX Controls do not have the Control tab on their Format Control dialog.
This article used the Combo Box (Form Control).Please check which combo box you are using.
This comment was minimized by the moderator on the site
Has anyone found a solution to the issue of dates and days are changing but the data in the coloumns/cells is static, its not changing when we change the month.
This comment was minimized by the moderator on the site
Sir, 9/5/2020.Very clearly and wisely you have shown the steps. I must appreciate your efforts to design the project.I also hope to receive from you more ideas and Tips in future too.Thanking you once again.Kanhaiyalal Newaskar.
This comment was minimized by the moderator on the site
I did it but I didn't get it this solution why so lengthy. Normally I enter the First date then I drag the date down its gives me full moth calendar automatically. I didn't understand why this so complicated.
This comment was minimized by the moderator on the site
the dates and days are changing but the data in the coloumns is static, its not changing when we change the month? please help
This comment was minimized by the moderator on the site
Has anyone found a solution to this issue? There must be a work around........
This comment was minimized by the moderator on the site
I have the same problem!
This comment was minimized by the moderator on the site
Hi,
Can you tell me your Excel version?
This comment was minimized by the moderator on the site
Any answer about this comment? I really need that to my work
This comment was minimized by the moderator on the site
Has anyone found a solution to this
This comment was minimized by the moderator on the site
Is is possible to adjust formulas so they do not create extra days for February and and if month have 30 days?
This comment was minimized by the moderator on the site
thanks this is very helpful for me. again thanks
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations