Excel Tutorial
Excel tutorials, quizzes & AI guides — all levels
RSS
  • Online Excel Exercises
  • Training
  • Excel Tests
  • Sitemap
  • Premium Quizzes
  • Shop
  • My account

Group Data per 15 Minute Interval in Excel

Date
Reading time: 2 minutes
Views: 6,802

When working with time-based data in Excel, grouping entries into 15-minute intervals is a smart way to spot patterns. This is especially useful if you’re tracking things like restaurant traffic, production steps, or website logins. Hourly summaries can miss those quick bursts of activity, but quarter-hour grouping doesn’t.

👉 In this article, we’ll take the example of a restaurant analyzing the number of entrances during lunchtime.

Step 1 – Log the Entry Time for each client

You can add the entry time by filling each cell manually, or you can use the shortcut: Ctrl + : (colon). This key combination insert the current time in your cell.

  • Excel Ctrl Key Shortcuts: Boost Your Productivity
  • The Excel Shortcuts everyone must know

Step 2 – Round Time to Nearest 15 Minutes

Excel has many functions to round numbers. To round Time to 15-minute intervals, the best function is FLOOR (or FLOOR.MATH)

The second argument is significance (or multiplication by a number). So, we will write the following formula.

Round to the previous 15 minute interval

Step 3 – Grouping Data by Time Intervals

The next step is to group your data by 15-Minute intervals. According to your Excel version, this task could be done with a single function, or more than one.

GROUPBY function – Only Excel 365

GROUPBY is a recently introduced function in Excel, currently exclusive to Excel 365 and Excel Online. It offers a unified solution for grouping and summarizing data within a single formula.

  • Automatic grouping of unique values (e.g., time slots)
  • Aggregation via SUM, COUNT, AVERAGE, etc.
  • Optional output customization (e.g., headers, totals, sorting)
  • … And more. Have a look at this article to lean more about GROUPBY
The GROUPBY functions analyse your data with a single formula

Analysis with the other Excel version

If you don’t have GROUPBY, you can still analyze your data, but this time, you must create a formula for each row of your document.

  1. Extract each 15-minute interval in a cell
    • You can do it manually 🤯
    • Or use the UNIQUE function with Excel 2019 or later
  2. Then use COUNTIF to count how many times each time block shows up

While this approach yields the same results, it requires manually writing formulas for each summary row.

Classic analytical dashboard using COUNTIF

Step 3 – Insert a Bar Chart to visualize your data

The best practice is to complete your analysis with a chart. Below is a standard bar chart. A bar chart provides a clear view of peak activity and helps communicate insights quickly.

  • Select your summary table with time intervals
  • Go to Insert > Bar Chart > Clustered Column
  • Customize the labels and axis to match your time bins
Clustered column to visualize the data

Related articles

  • Test Your Skills with COUNTIF and COUNTIFS
  • COUNTIFS Function: Mastering Multi-Criteria Counting
  • GROUPBY function: The future of COUNTIF SUMIF

Frédéric LE GUEN

analysis, COUNTIF, GROUPBY, study case, time, Time format

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Most Viewed Posts

  • Displaying Negative Numbers in Parentheses in Excel (310,065)
  • Top 10 Excel Functions You Must Know (232,001)
  • How to make automatic calendar in Excel (212,775)
  • Dash for a zero in Excel automatically (190,812)
  • Converting a Date from YYYYMMDD to DD/MM/YYYY in Excel (171,033)
image excel exercises
Excel Exercises
image excel quizzes
Excel Quizzes

Group Data per 15 Minute Interval in Excel

Reading time: 2 minutes
Views: 6,802

When working with time-based data in Excel, grouping entries into 15-minute intervals is a smart way to spot patterns. This is especially useful if you’re tracking things like restaurant traffic, production steps, or website logins. Hourly summaries can miss those quick bursts of activity, but quarter-hour grouping doesn’t.

👉 In this article, we’ll take the example of a restaurant analyzing the number of entrances during lunchtime.

Step 1 – Log the Entry Time for each client

You can add the entry time by filling each cell manually, or you can use the shortcut: Ctrl + : (colon). This key combination insert the current time in your cell.

  • Excel Ctrl Key Shortcuts: Boost Your Productivity
  • The Excel Shortcuts everyone must know

Step 2 – Round Time to Nearest 15 Minutes

Excel has many functions to round numbers. To round Time to 15-minute intervals, the best function is FLOOR (or FLOOR.MATH)

The second argument is significance (or multiplication by a number). So, we will write the following formula.

Round to the previous 15 minute interval

Step 3 – Grouping Data by Time Intervals

The next step is to group your data by 15-Minute intervals. According to your Excel version, this task could be done with a single function, or more than one.

GROUPBY function – Only Excel 365

GROUPBY is a recently introduced function in Excel, currently exclusive to Excel 365 and Excel Online. It offers a unified solution for grouping and summarizing data within a single formula.

  • Automatic grouping of unique values (e.g., time slots)
  • Aggregation via SUM, COUNT, AVERAGE, etc.
  • Optional output customization (e.g., headers, totals, sorting)
  • … And more. Have a look at this article to lean more about GROUPBY
The GROUPBY functions analyse your data with a single formula

Analysis with the other Excel version

If you don’t have GROUPBY, you can still analyze your data, but this time, you must create a formula for each row of your document.

  1. Extract each 15-minute interval in a cell
    • You can do it manually 🤯
    • Or use the UNIQUE function with Excel 2019 or later
  2. Then use COUNTIF to count how many times each time block shows up

While this approach yields the same results, it requires manually writing formulas for each summary row.

Classic analytical dashboard using COUNTIF

Step 3 – Insert a Bar Chart to visualize your data

The best practice is to complete your analysis with a chart. Below is a standard bar chart. A bar chart provides a clear view of peak activity and helps communicate insights quickly.

  • Select your summary table with time intervals
  • Go to Insert > Bar Chart > Clustered Column
  • Customize the labels and axis to match your time bins
Clustered column to visualize the data

Related articles

  • Test Your Skills with COUNTIF and COUNTIFS
  • COUNTIFS Function: Mastering Multi-Criteria Counting
  • GROUPBY function: The future of COUNTIF SUMIF
Tags: analysisCOUNTIFGROUPBYstudy casetimeTime format

Frédéric LE GUEN

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Contact us
About me 
Privacy Policy

© 2022 – 2026 – excel-tutorial.com. All Rights Reserved.
Excel Tutorial is managed by majordome du net

Contact us
About me 
Privacy Policy

© 2022 – 2026 – excel-tutorial.com. All Rights Reserved.
Excel Tutorial is managed by majordome du net