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

Excelで時間を分または時間間隔でグループ化するにはどうすればよいですか?

これが時間のリストです、そして私がしたいのは下のスクリーンショットが示すように時間を3時間でグループ化することです、どうすればExcelでそれを素早く解決できますか?
間隔1によるドキュメントグループ時間

時間間隔で時間をグループ化する

分間隔で時間をグループ化する


時間間隔で時間をグループ化する

時間間隔で時間をグループ化するには、XNUMXつの数式が必要です。

時間の横のセルを選択し、この数式を入力します = FLOOR(A2、 "3:00")、A2は使用時間、3:00は時間間隔、を押します 入力します キーを押しながら塗りつぶしハンドルを下にドラッグして、この数式をセルに適用します。
間隔2によるドキュメントグループ時間


分間隔で時間をグループ化する

時間を分間隔でグループ化する場合は、数式を使用することもできます。

時間の横のセルを選択し、この数式を入力します = FLOOR(A2、TIME(0,15,0))、A2は使用時間、15は分間隔、を押します 入力します キーを押しながら塗りつぶしハンドルを下にドラッグして、この数式をセルに適用します。
間隔3によるドキュメントグループ時間

先端:数式の結果が数字で表示される場合は、時間形式としてフォーマットする必要があります。


関連記事

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

🤖 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 (5)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Good Morning,

I want the time interval for 30 seconds. i used floor command, like this FLOOR(A2,TIME(0,0,30)), where A2 is my cell for the time. But, its giving me right result. Can you help me with this
This comment was minimized by the moderator on the site
I have the duration of the data (not time stamp) in each cell. I want to be able to be able to group into less than 5 minute, 5-10 minutes, 10-15 minutes, 15+. How would I do that. Note: the time durations are displayed HH:MM:SS

Thanks
This comment was minimized by the moderator on the site
Hi, Nicolas C Petraglia, try formula =FLOOR(A2,TIME(0,5,0)), and drag auto fill handle down to all cells you want to group. See the screenshot shown:
https://www.extendoffice.com/images/stories/comments/sun-comment/doc_formula_to_group_time.png
This comment was minimized by the moderator on the site
Hi, I need to figure out how to align a column of data with one-hour timestamps to a column of data with 5-minute timestamps.  I don't want to average the 5-minute data at all, nor do I want to round the timestamp using FLOOR, I just want to distribute the one-hour data points down the column beside the 5-minute data so they line up.
i.e. the one-hour data column must have 11 blank rows so that it aligns with the same ":00" timestamp in the 5-minute row.  How can I do this?  
This comment was minimized by the moderator on the site
Hi, Guest, I do not understand your problem. My understanding is that insert blank 11 rows to make one-hour timestamps align with 5-minutes timestamps. If so, copy and past the 5-minutes timestamps to the other sheet firstly, then select the one-hour timestamps selection and apply Kutools for Excel's Insert Blank Rows feature and set insert 11 rows per row, and then copy and paste the 5-minutes timestamps back. For more detail for Insert Blank Rows, please visit:https://www.extendoffice.com/product/kutools-for-excel/excel-insert-blank-rows-column.html
For other methods on inserting blank row, please visit:https://www.extendoffice.com/documents/excel/797-excel-insert-blank-row.html
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations