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

Googleスプレッドシートのリストで平日を自動入力して週末を除外するにはどうすればよいですか? 

Microsoft Excelでは、オートフィルオプションを使用して、平日のみを簡単に入力し、週末を除外することができます。 しかし、Googleスプレッドシートには、Excelのように平日をすばやく埋める機能はありません。 Googleスプレッドシートでこのタスクにどのように対処できますか?

平日を自動入力すると、Googleスプレッドシートのリストから週末が除外されます


平日を自動入力すると、Googleスプレッドシートのリストから週末が除外されます

Googleスプレッドシートでは、次の数式を適用して、必要な場合にのみ平日を埋めることができます。

1。 開始する最初の日付を入力してから、最初の日付セルの下に次の数式を入力してください。 = A2 + IF(WEEKDAY(A2)> 5,3,1)、スクリーンショットを参照してください:

2。 押す 入力します キーを押してから、平日に塗りつぶすセルまで塗りつぶしハンドルをドラッグすると、次のスクリーンショットに示すように、連続する平日のみが列に入力されます。

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

🤖 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 (6)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
how to insert holidays here? Say for example, in India we have 26th January, 15th August and 2nd October as holidays. How do i avoid these dates in the autofill?
This comment was minimized by the moderator on the site
how to insert holidays here? Say for example, in India we have 26th January, 15th August and 2nd October as holidays. How do i avoid these dates in the autofill?
This comment was minimized by the moderator on the site
This was helpful for me in creating Working Hours Logs. Thanks!
This comment was minimized by the moderator on the site
This is super helpful. Would you be able to give a little more information about how to manipulate this formula? For example, I only want to fill Mondays and Wednesdays. Is this possible?
This comment was minimized by the moderator on the site
Hi, Clayton,
To only fill Mondays and Wednesdays into a list of cells, you should do as this:
First, enter the date which is Monday or Wednesday in cell A1, and then copy the below formula into cell A2, then drag the fill handle down to your need:
=IF(TEXT(A1,"ddd")="Mon",A1+2,A1+5)
This comment was minimized by the moderator on the site
Is it possible to use this with an arrayformula across a horizontal row? I tried it but having some issues.
=arrayformula(if(COLUMN(C13:Z13), IF(INDIRECT(ADDRESS(ROW(C13:Z13),COLUMN(C13:Z13)-1)), INDIRECT(ADDRESS(ROW(C13:Z13),COLUMN(C13:Z13)-1)) + IF(WEEKDAY(INDIRECT(ADDRESS(ROW(C13:Z13),COLUMN(C13:Z13)-1)))>5,3,1), -1
) , -2))
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations