How to Highlight Earliest Events in Google Sheets

When managing events, projects, or schedules, it’s often crucial to identify the earliest upcoming dates. In this tutorial, I’ll show you how to highlight the earliest event based on a date column in Google Sheets—whether you’re tracking event start dates or managing multiple bookings.

We’ll begin with a basic example where we highlight the earliest event from all entries. Then, we’ll move on to a real-world scenario where an event has multiple bookings, and I’ll show you how to highlight the earliest booking for each event individually.

Whether you’re managing conference schedules, flight bookings, or event registrations, this guide will help you organize your data and easily identify key dates with a glance.

Example 1: Highlight Earliest Events Based on Date

Sample Data (A1:B):

Event NameEvent Date
Conference15/07/2025
Seminar20/06/2025
Workshop01/07/2025
Webinar18/06/2025
Meetup10/07/2025

In this example:

  • The earliest event based on the “Event Date” is Webinar (2025-06-18).
  • If you’re highlighting just the earliest event, you would highlight “Webinar.”
  • If you want to highlight the top 3 earliest events, you would highlight Webinar, Seminar, and Workshop.

Steps to Highlight the Earliest Event:

  1. Identify the date column and the range you want to highlight. You can highlight the date column, the event column, or both.
  2. For this example, the date column is B, and the event column is A. We’ll highlight column A (Event Name) based on the earliest event.
  3. Select A2:A to highlight the event column. You can also select B2:B or A2:B depending on your needs.
  4. Click Format > Conditional Formatting.
  5. Under Format Rules, select “Custom formula is“.
  6. Enter the following formula to highlight the earliest event: =AND($B2<>"", $B2=MIN($B$2:$B))
  7. Choose a highlight color.
  8. Click Done.

This formula checks whether the current row’s date is not empty and matches the minimum date in the column.

Highlight Earliest Events Based on Date

Highlighting the Top 3 Earliest Events:

If you want to highlight the earliest three events, use this formula:

=AND($B2<>"", XMATCH($B2, ArrayFormula(SMALL($B$2:$B, {1, 2, 3}))))
  • {1, 2, 3} controls the smallest three event dates.

This formula checks whether the current cell in column B is not empty and matches one of the smallest three dates.

Example 2: Highlight the Earliest Booking for Each Event

In this scenario, events may have multiple bookings, and you need to highlight the earliest booking for each event. This is particularly useful in:

  • Event management: Quickly identify who booked first for VIP access, early bird perks, or seating priority.
  • Hotel or venue bookings: Easily spot the first reservation to be honored.
  • Ticket sales: Identify the first booking for better seating or discounts.
  • Internal scheduling: Determine which department gets the meeting room first.

Sample Data:

EventBooking Time
event_a23/07/2020 19:00:00
event_a23/07/2020 19:15:00
event_a23/07/2020 20:30:00
event_a23/07/2020 20:45:00
event_a24/07/2020 22:05:00
event_b23/07/2020 22:05:00
event_b23/07/2020 22:05:00
event_b23/07/2020 22:10:00
event_b23/07/2020 22:10:00
event_b23/07/2020 22:15:00
event_c24/07/2020 22:05:00

To highlight the earliest booking for each event, follow these steps:

  1. Select the event column (A2:A), the booking column (B2:B), or both.
  2. Click Format > Conditional Formatting.
  3. Under Format Rules, choose “Custom formula is“.
  4. Enter the following formula: =AND($B2<>"", XMATCH(ROW($B2), FILTER(ROW($A$2:$A), $A$2:$A=$A2, $B$2:$B=MINIFS($B$2:$B, $A$2:$A, $A2))))

Formula Breakdown:

  • MINIFS($B$2:$B, $A$2:$A, $A2): Finds the smallest date for the current event.
  • FILTER(ROW($A$2:$A), $A$2:$A=$A2, $B$2:$B=…): Filters the row numbers where the event matches and the date is the smallest.
  • XMATCH(ROW($B2), …): Matches the current row number with the filtered results.

This formula highlights the row where the current row is not empty and matches the earliest booking for each event.

Highlight the Earliest Booking for Each Event

Why This Method Is Useful

Using this approach, you’ll quickly identify the earliest events or earliest bookings in your Google Sheets, making it easier to prioritize tasks, allocate resources, or make decisions based on the first bookings or earliest events.

Resources

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Guide Prashanth KV brings a wealth of experience in Google Sheets and Excel, cultivated through years of work with multinational corporations in Mumbai and Dubai. As a recognized Google Product Expert in Docs Editors, Prashanth shares his expertise through insightful blogging since 2012. Explore his blog for practical tips and guidance on maximizing your spreadsheet skills.

Reset SCAN by Another Column in Google Sheets and Excel

Resetting SCAN function results based on values in another column is a topic of...

How to Get the Fastest Time for Each Person in Google Sheets

Whether you’re tracking race results, event times, or any other timed activities, finding the...

Highlight the Smallest N Values in a Column in Google Sheets

Want to visually spotlight the lowest values in your data? In this tutorial, you'll...

Sort Each Row Individually in Excel Using a LAMBDA Formula

Sorting rows in Excel typically refers to rearranging entire datasets based on values in...

More like this

How to Get the Fastest Time for Each Person in Google Sheets

Whether you’re tracking race results, event times, or any other timed activities, finding the...

Highlight the Smallest N Values in a Column in Google Sheets

Want to visually spotlight the lowest values in your data? In this tutorial, you'll...

How to Sort Pie Slices in Google Sheets

To sort pie slices in a pie chart, you need to sort the data...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.